Client: Fix Javascript OOM error during webpack compilation (#89)
This commit is contained in:
parent
0cb11df7f5
commit
5c7d587b19
|
@ -15,7 +15,6 @@ const LoaderOptionsPlugin = require('webpack/lib/LoaderOptionsPlugin')
|
||||||
const NormalModuleReplacementPlugin = require('webpack/lib/NormalModuleReplacementPlugin')
|
const NormalModuleReplacementPlugin = require('webpack/lib/NormalModuleReplacementPlugin')
|
||||||
const OptimizeJsPlugin = require('optimize-js-plugin')
|
const OptimizeJsPlugin = require('optimize-js-plugin')
|
||||||
const HashedModuleIdsPlugin = require('webpack/lib/HashedModuleIdsPlugin')
|
const HashedModuleIdsPlugin = require('webpack/lib/HashedModuleIdsPlugin')
|
||||||
const ModuleConcatenationPlugin = require('webpack/lib/optimize/ModuleConcatenationPlugin')
|
|
||||||
const UglifyJsPlugin = require('uglifyjs-webpack-plugin')
|
const UglifyJsPlugin = require('uglifyjs-webpack-plugin')
|
||||||
/**
|
/**
|
||||||
* Webpack Constants
|
* Webpack Constants
|
||||||
|
@ -108,7 +107,6 @@ module.exports = function (env) {
|
||||||
* See: http://webpack.github.io/docs/configuration.html#plugins
|
* See: http://webpack.github.io/docs/configuration.html#plugins
|
||||||
*/
|
*/
|
||||||
plugins: [
|
plugins: [
|
||||||
new ModuleConcatenationPlugin(),
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Webpack plugin to optimize a JavaScript file for faster initial load
|
* Webpack plugin to optimize a JavaScript file for faster initial load
|
||||||
|
|
Loading…
Reference in New Issue