1
1
mirror of https://github.com/Fabio286/antares.git synced 2025-06-05 21:59:22 +02:00

Version from package.json

This commit is contained in:
2020-05-30 19:07:34 +02:00
parent d9dbf8e462
commit fc48cd0e31
6 changed files with 259 additions and 73 deletions

View File

@ -1,4 +1,14 @@
const webpack = require('webpack');
module.exports = {
plugins: [
new webpack.DefinePlugin({
'process.env': {
PACKAGE_VERSION: JSON.stringify(require('./package.json').version)
}
})
],
module: {
rules: [
{