mirror of
https://github.com/captbaritone/webamp.git
synced 2026-01-24 02:36:00 +00:00
17 lines
393 B
JavaScript
17 lines
393 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({
|
|
sourceMap: true
|
|
})
|
|
]);
|
|
|
|
config.entry.winamp.unshift("./js/googleAnalytics.min.js");
|
|
|
|
module.exports = config;
|