webpack3: temporary disable scope hoisting

Currently it makes trouble with context.require
This commit is contained in:
Pooya Parsa 2017-06-20 01:15:48 +04:30
parent adb43fbc10
commit 9fe3f0d334
1 changed files with 3 additions and 3 deletions

View File

@ -138,9 +138,9 @@ export default function webpackBaseConfig ({ isClient, isServer }) {
)
// Scope Hoisting
config.plugins.push(
new webpack.optimize.ModuleConcatenationPlugin()
)
// config.plugins.push(
// new webpack.optimize.ModuleConcatenationPlugin()
// )
}
// Clone deep avoid leaking config between Client and Server