mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-02-16 19:40:58 +03:00
20 lines
441 B
JavaScript
20 lines
441 B
JavaScript
|
'use strict';
|
||
|
|
||
|
var webpack = require('webpack');
|
||
|
var baseConfig = require('./webpack.config.base');
|
||
|
|
||
|
var config = Object.create(baseConfig);
|
||
|
config.plugins = [
|
||
|
new webpack.optimize.OccurenceOrderPlugin(),
|
||
|
new webpack.DefinePlugin({
|
||
|
'process.env.NODE_ENV': JSON.stringify('production')
|
||
|
}),
|
||
|
new webpack.optimize.UglifyJsPlugin({
|
||
|
compressor: {
|
||
|
screw_ie8: true,
|
||
|
warnings: false
|
||
|
}
|
||
|
})
|
||
|
];
|
||
|
|
||
|
module.exports = config;
|