feat: Add automatic version.js generation

This commit is contained in:
2024-06-22 12:01:59 -04:00
parent cb3c1ab05f
commit 68c242ae81
7 changed files with 38 additions and 12 deletions

View File

@@ -50,11 +50,6 @@ module.exports = configure(function ({ dev }) {
// Full list of options: https://v2.quasar.dev/quasar-cli-vite/quasar-config-js#build
build: {
env: {
VUE_APP_VERSION: dev
? 'dev-' + gitCommitInfo().shortHash
: packageJson.version,
},
target: {
browser: ['es2019', 'edge88', 'firefox78', 'chrome87', 'safari13.1'],
node: 'node16',