mirror of
https://github.com/captbaritone/webamp.git
synced 2026-01-23 18:25:30 +00:00
17 lines
389 B
JavaScript
17 lines
389 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()
|
|
]);
|
|
|
|
config.entry = (config.entry || []).concat([
|
|
'./js/googleAnalytics.min.js'
|
|
]);
|
|
|
|
module.exports = config;
|