Fixes #292 Display version number
This commit is contained in:
committed by
David Calavera
parent
e66b3597ef
commit
22137ed777
@ -30,6 +30,9 @@ module.exports = merge.smart(require('./webpack.base.js'), {
|
||||
NODE_ENV: JSON.stringify('production'),
|
||||
},
|
||||
}),
|
||||
new webpack.DefinePlugin({
|
||||
NETLIFY_CMS_VERSION: JSON.stringify(require("./package.json").version)
|
||||
}),
|
||||
new webpack.optimize.OccurenceOrderPlugin(),
|
||||
|
||||
// Minify and optimize the JavaScript
|
||||
|
Reference in New Issue
Block a user