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

View File

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