mirror of
https://github.com/captbaritone/webamp.git
synced 2026-01-24 02:36:00 +00:00
13 lines
309 B
JavaScript
13 lines
309 B
JavaScript
const config = require('./webpack.config');
|
|
const webpack = require('webpack');
|
|
|
|
config.plugins = (config.plugins || []).concat([
|
|
new webpack.DefinePlugin({
|
|
'process.env': {
|
|
'NODE_ENV': JSON.stringify('production')
|
|
}
|
|
}),
|
|
new webpack.optimize.UglifyJsPlugin()
|
|
]);
|
|
|
|
module.exports = config;
|