mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-22 17:47:16 +00:00
13 lines
307 B
JavaScript
13 lines
307 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;
|