mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-23 14:15:13 +00:00
webpack3: temporary disable scope hoisting
Currently it makes trouble with context.require
This commit is contained in:
parent
adb43fbc10
commit
9fe3f0d334
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user