From fd5e157c71ee5cac03292f61ef98b1ae47ba4d95 Mon Sep 17 00:00:00 2001 From: jtc42 Date: Fri, 7 Jun 2019 17:03:08 +0100 Subject: [PATCH] Save all package info to process.env --- vue.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vue.config.js b/vue.config.js index 3cd859e9..4e2ec2e3 100644 --- a/vue.config.js +++ b/vue.config.js @@ -14,7 +14,7 @@ module.exports = { config.plugins.push( new webpack.DefinePlugin({ 'process.env': { - PACKAGE_VERSION: JSON.stringify(require('./package.json').version) + PACKAGE: JSON.stringify(require('./package.json')) } }) )