redux-devtools/packages/d3-state-visualizer/webpack.config.production.js

15 lines
314 B
JavaScript
Raw Normal View History

'use strict';
var webpack = require('webpack');
var baseConfig = require('./webpack.config.base');
var config = Object.assign({}, baseConfig);
config.mode = 'production';
config.plugins = [
new webpack.DefinePlugin({
'process.env.NODE_ENV': JSON.stringify('production'),
}),
];
module.exports = config;