react-ace
Version:
A react component for Ace Editor
15 lines (12 loc) • 366 B
JavaScript
const webpack = require('webpack');
const baseConfig = require('./webpack.config.base');
const config = Object.assign({}, baseConfig);
config.plugins = [
new webpack.optimize.OccurrenceOrderPlugin(),
new webpack.DefinePlugin({
'process.env.NODE_ENV': JSON.stringify('production'),
})
];
config.mode = 'production';
module.exports = config;
;