👷 Passes app version number to Vue build

This commit is contained in:
Alicia Sykes 2021-06-22 22:28:08 +01:00
parent fe002fc55e
commit 1578b18a22
1 changed files with 3 additions and 0 deletions

View File

@ -1,3 +1,6 @@
// Get current version
process.env.VUE_APP_VERSION = require('./package.json').version;
module.exports = {
publicPath: process.env.BASE_URL, // || './',
chainWebpack: config => {