From: Green-Star Date: Sat, 9 Sep 2017 10:04:21 +0000 (+0200) Subject: Client: Fix Javascript OOM error during webpack compilation (#89) X-Git-Tag: v0.0.1-alpha~329 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=5c7d587b196c580a411beece072b8e8589a7a0c8;p=oweals%2Fpeertube.git Client: Fix Javascript OOM error during webpack compilation (#89) --- diff --git a/client/config/webpack.prod.js b/client/config/webpack.prod.js index b950d3fe5..fc47f03a0 100644 --- a/client/config/webpack.prod.js +++ b/client/config/webpack.prod.js @@ -15,7 +15,6 @@ const LoaderOptionsPlugin = require('webpack/lib/LoaderOptionsPlugin') const NormalModuleReplacementPlugin = require('webpack/lib/NormalModuleReplacementPlugin') const OptimizeJsPlugin = require('optimize-js-plugin') const HashedModuleIdsPlugin = require('webpack/lib/HashedModuleIdsPlugin') -const ModuleConcatenationPlugin = require('webpack/lib/optimize/ModuleConcatenationPlugin') const UglifyJsPlugin = require('uglifyjs-webpack-plugin') /** * Webpack Constants @@ -108,7 +107,6 @@ module.exports = function (env) { * See: http://webpack.github.io/docs/configuration.html#plugins */ plugins: [ - new ModuleConcatenationPlugin(), /** * Webpack plugin to optimize a JavaScript file for faster initial load