mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-17 06:01:34 +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,
|
maxEntrypointSize: Infinity,
|
||||||
maxAssetSize: Infinity
|
maxAssetSize: Infinity
|
||||||
},
|
},
|
||||||
externals: []
|
externals: [].concat(config.externals || [])
|
||||||
})
|
})
|
||||||
|
|
||||||
// https://webpack.js.org/configuration/externals/#externals
|
// https://webpack.js.org/configuration/externals/#externals
|
||||||
|
Loading…
Reference in New Issue
Block a user