Save all package info to process.env
This commit is contained in:
parent
83c933fb3c
commit
fd5e157c71
1 changed files with 1 additions and 1 deletions
|
|
@ -14,7 +14,7 @@ module.exports = {
|
||||||
config.plugins.push(
|
config.plugins.push(
|
||||||
new webpack.DefinePlugin({
|
new webpack.DefinePlugin({
|
||||||
'process.env': {
|
'process.env': {
|
||||||
PACKAGE_VERSION: JSON.stringify(require('./package.json').version)
|
PACKAGE: JSON.stringify(require('./package.json'))
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue