aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGreen-Star <Green-Star@users.noreply.github.com>2017-09-09 12:04:21 +0200
committerBigard Florian <florian.bigard@gmail.com>2017-09-09 12:04:21 +0200
commit5c7d587b196c580a411beece072b8e8589a7a0c8 (patch)
treecb3d0df891bc4ab007d27da83ab94f6b443eba79
parent0cb11df7f5b6ae78e6694f160bdce0da4f0376db (diff)
downloadPeerTube-5c7d587b196c580a411beece072b8e8589a7a0c8.tar.gz
PeerTube-5c7d587b196c580a411beece072b8e8589a7a0c8.tar.zst
PeerTube-5c7d587b196c580a411beece072b8e8589a7a0c8.zip
Client: Fix Javascript OOM error during webpack compilation (#89)
-rw-r--r--client/config/webpack.prod.js2
1 files changed, 0 insertions, 2 deletions
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')
15const NormalModuleReplacementPlugin = require('webpack/lib/NormalModuleReplacementPlugin') 15const NormalModuleReplacementPlugin = require('webpack/lib/NormalModuleReplacementPlugin')
16const OptimizeJsPlugin = require('optimize-js-plugin') 16const OptimizeJsPlugin = require('optimize-js-plugin')
17const HashedModuleIdsPlugin = require('webpack/lib/HashedModuleIdsPlugin') 17const HashedModuleIdsPlugin = require('webpack/lib/HashedModuleIdsPlugin')
18const ModuleConcatenationPlugin = require('webpack/lib/optimize/ModuleConcatenationPlugin')
19const UglifyJsPlugin = require('uglifyjs-webpack-plugin') 18const UglifyJsPlugin = require('uglifyjs-webpack-plugin')
20/** 19/**
21 * Webpack Constants 20 * Webpack Constants
@@ -108,7 +107,6 @@ module.exports = function (env) {
108 * See: http://webpack.github.io/docs/configuration.html#plugins 107 * See: http://webpack.github.io/docs/configuration.html#plugins
109 */ 108 */
110 plugins: [ 109 plugins: [
111 new ModuleConcatenationPlugin(),
112 110
113 /** 111 /**
114 * Webpack plugin to optimize a JavaScript file for faster initial load 112 * Webpack plugin to optimize a JavaScript file for faster initial load