We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5389f84 + 0356134 commit 5c63d34Copy full SHA for 5c63d34
index.js
@@ -22,7 +22,7 @@ module.exports = (api, options) => {
22
const hasKeyFile = fs.existsSync(keyFile)
23
24
api.chainWebpack((webpackConfig) => {
25
- const config = webpackConfig.entryPoints.delete('app').end()
+ webpackConfig.entryPoints.delete('app')
26
const entry = {}
27
if (pluginOptions.components.background) {
28
entry['background'] = [api.resolve(componentOptions.background.entry)]
@@ -37,7 +37,8 @@ module.exports = (api, options) => {
37
entry[name] = paths.map(path => api.resolve(path))
38
}
39
40
- config.merge({entry})
+ webpackConfig.merge({entry})
41
+ webpackConfig.optimization.delete('splitChunks')
42
})
43
44
api.configureWebpack((webpackConfig) => {
0 commit comments