|
@@ -24,16 +24,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
module.exports = merge(common, {
|
|
|
mode: 'production',
|
|
|
devtool: 'source-map',
|
|
|
- performance: {
|
|
|
- hints: 'warning'
|
|
|
- },
|
|
|
- output: {
|
|
|
- pathinfo: false
|
|
|
- },
|
|
|
plugins: [
|
|
|
- new webpack.DefinePlugin({'process.env.NODE_ENV': JSON.stringify('production')}),
|
|
|
- new webpack.optimize.ModuleConcatenationPlugin(),
|
|
|
- new webpack.NoEmitOnErrorsPlugin(),
|
|
|
new webpack.BannerPlugin({banner: banner, entryOnly: true}),
|
|
|
],
|
|
|
});
|