chore: update version strings

This commit is contained in:
2024-06-13 20:35:13 -04:00
parent 475ba45248
commit 1a78f82c5e
5 changed files with 2786 additions and 81 deletions

View File

@@ -10,8 +10,9 @@
const { configure } = require('quasar/wrappers');
const packageJson = require('./package.json');
const gitCommitInfo = require('git-commit-info');
module.exports = configure(function (/* ctx */) {
module.exports = configure(function ({ dev }) {
return {
eslint: {
// fix: true,
@@ -50,7 +51,9 @@ module.exports = configure(function (/* ctx */) {
// Full list of options: https://v2.quasar.dev/quasar-cli-vite/quasar-config-js#build
build: {
env: {
VUE_APP_VERSION: packageJson.version,
VUE_APP_VERSION: dev
? 'dev-' + gitCommitInfo().shortHash
: packageJson.version,
},
target: {
browser: ['es2019', 'edge88', 'firefox78', 'chrome87', 'safari13.1'],