Move to webpack

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2018-04-11 11:54:37 +02:00
parent e94986744d
commit 24f4f84eb6
43 changed files with 184 additions and 218 deletions
+13
View File
@@ -0,0 +1,13 @@
const webpack = require('webpack');
const merge = require('webpack-merge');
const baseConfig = require('./webpack.config.js');
module.exports = merge(baseConfig, {
plugins: [
new webpack.DefinePlugin({
'process.env': {
'NODE_ENV': JSON.stringify('production')
}
}),
]
});