chore: update version strings
This commit is contained in:
@@ -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'],
|
||||
|
||||
Reference in New Issue
Block a user