Save all package info to process.env

This commit is contained in:
jtc42 2019-06-07 17:03:08 +01:00
parent 83c933fb3c
commit fd5e157c71

View file

@ -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'))
}
})
)