diff options
author | Green-Star <Green-Star@users.noreply.github.com> | 2017-09-09 12:04:21 +0200 |
---|---|---|
committer | Bigard Florian <florian.bigard@gmail.com> | 2017-09-09 12:04:21 +0200 |
commit | 5c7d587b196c580a411beece072b8e8589a7a0c8 (patch) | |
tree | cb3d0df891bc4ab007d27da83ab94f6b443eba79 /client/config | |
parent | 0cb11df7f5b6ae78e6694f160bdce0da4f0376db (diff) | |
download | PeerTube-5c7d587b196c580a411beece072b8e8589a7a0c8.tar.gz PeerTube-5c7d587b196c580a411beece072b8e8589a7a0c8.tar.zst PeerTube-5c7d587b196c580a411beece072b8e8589a7a0c8.zip |
Client: Fix Javascript OOM error during webpack compilation (#89)
Diffstat (limited to 'client/config')
-rw-r--r-- | client/config/webpack.prod.js | 2 |
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') | |||
15 | const NormalModuleReplacementPlugin = require('webpack/lib/NormalModuleReplacementPlugin') | 15 | const NormalModuleReplacementPlugin = require('webpack/lib/NormalModuleReplacementPlugin') |
16 | const OptimizeJsPlugin = require('optimize-js-plugin') | 16 | const OptimizeJsPlugin = require('optimize-js-plugin') |
17 | const HashedModuleIdsPlugin = require('webpack/lib/HashedModuleIdsPlugin') | 17 | const HashedModuleIdsPlugin = require('webpack/lib/HashedModuleIdsPlugin') |
18 | const ModuleConcatenationPlugin = require('webpack/lib/optimize/ModuleConcatenationPlugin') | ||
19 | const UglifyJsPlugin = require('uglifyjs-webpack-plugin') | 18 | const 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 |