UNPKG

react-ace

Version:
15 lines (12 loc) 366 B
'use strict'; 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;