2017-03-03 01:44:07 +00:00
|
|
|
const webpack = require('webpack');
|
|
|
|
const baseConfig = require('./webpack.config.base.babel');
|
2016-04-20 02:14:53 +00:00
|
|
|
|
2017-03-03 01:44:07 +00:00
|
|
|
module.exports = {
|
2016-04-20 06:09:46 +00:00
|
|
|
...baseConfig,
|
2017-11-27 02:30:26 +00:00
|
|
|
devtool: false,
|
2016-04-20 06:09:46 +00:00
|
|
|
plugins: [
|
|
|
|
...baseConfig.plugins,
|
|
|
|
new webpack.DefinePlugin({
|
|
|
|
__DEV__: false,
|
2016-08-17 22:44:03 +00:00
|
|
|
'process.env.NODE_ENV': JSON.stringify('production'),
|
2017-03-03 20:09:08 +00:00
|
|
|
'process.env.HOT': JSON.stringify(null)
|
2016-04-20 06:09:46 +00:00
|
|
|
})
|
|
|
|
]
|
2017-03-03 01:44:07 +00:00
|
|
|
};
|