From 1578b18a2210d6955c80c59226157551e2e9bac1 Mon Sep 17 00:00:00 2001 From: Alicia Sykes Date: Tue, 22 Jun 2021 22:28:08 +0100 Subject: [PATCH] :construction_worker: Passes app version number to Vue build --- vue.config.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vue.config.js b/vue.config.js index 674ac871..e32bc3cf 100644 --- a/vue.config.js +++ b/vue.config.js @@ -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 => {