|
@ -1,10 +1,12 @@ |
|
|
import pkg from './package.json' |
|
|
import pkg from './package.json' |
|
|
import { execSync } from 'child_process' |
|
|
import { execSync } from 'child_process' |
|
|
|
|
|
import vue from '@vitejs/plugin-vue' |
|
|
|
|
|
|
|
|
export default { |
|
|
export default { |
|
|
|
|
|
plugins: [vue()], |
|
|
define: { |
|
|
define: { |
|
|
APP_TITLE: pkg.name, |
|
|
|
|
|
APP_VERSION: buildVersion(), |
|
|
|
|
|
|
|
|
APP_TITLE: JSON.stringify(pkg.name), |
|
|
|
|
|
APP_VERSION: JSON.stringify(buildVersion()), |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|