feat(release): add semantic version to application builds
This commit is contained in:
1 parent
10fd6d8efb
commit
12d13327a6
6 files changed
+22
-3
No files matched your search
@@ -8,7 +8,10 @@ import { ElementPlusResolver } from 'unplugin-vue-components/resolvers'
|
||||
import Components from 'unplugin-vue-components/vite'
|
||||
import { defineConfig } from 'vitest/config'
|
||||
|
||||
const releaseVersion = readFileSync(new URL('../VERSION', import.meta.url), 'utf8').trim()
|
||||
|
||||
export default defineConfig({
|
||||
define: { __RAWMARK_RELEASE__: JSON.stringify(releaseVersion) },
|
||||
resolve: { alias: { '@': fileURLToPath(new URL('./src', import.meta.url)), '@@': fileURLToPath(new URL('./src/common', import.meta.url)) } },
|
||||
plugins: [
|
||||
vue(),
|
||||
|
||||
Reference in new issue
Block a user