mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-27 16:12:12 +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
|
// 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
|
||||||
|
Loading…
Reference in New Issue
Block a user