mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2024-11-22 04:58:01 +01:00
20 lines
411 B
JavaScript
20 lines
411 B
JavaScript
|
var path = require('path');
|
||
|
var webpack = require('webpack');
|
||
|
var _ = require('underscore');
|
||
|
|
||
|
var webpackBaseConfig = require('./webpack.base.config.js');
|
||
|
var config = _.clone(webpackBaseConfig);
|
||
|
|
||
|
config.plugins.push(
|
||
|
new webpack.optimize.UglifyJsPlugin({
|
||
|
compress: {
|
||
|
warnings: false
|
||
|
}
|
||
|
})
|
||
|
);
|
||
|
|
||
|
//config.output.publicPath = 'https://pony.fm/build/';
|
||
|
|
||
|
|
||
|
module.exports = config;
|