mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-27 08:02:01 +00:00
fix: not override externals set by build.extend (#5444)
This commit is contained in:
parent
424d641c9f
commit
1ae433355e
@ -95,7 +95,7 @@ export default class WebpackServerConfig extends WebpackBaseConfig {
|
||||
maxEntrypointSize: Infinity,
|
||||
maxAssetSize: Infinity
|
||||
},
|
||||
externals: []
|
||||
externals: [].concat(config.externals || [])
|
||||
})
|
||||
|
||||
// https://webpack.js.org/configuration/externals/#externals
|
||||
|
Loading…
Reference in New Issue
Block a user