redux-devtools/packages/d3tooltip/webpack.config.production.js
Mihail Diordiev d2084892b4
Merge d3tooltip package (#423)
* Merge d3tooltip from romseguy/d3tooltip

* Dependences and npm package config

* Add credits
2018-12-19 15:16:11 +02:00

21 lines
442 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;