Skip to content

Commit 1e290f5

Browse files
fix: sharp round 5
1 parent e4f0a88 commit 1e290f5

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

webpack.main.config.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,13 @@ module.exports = {
1414
sharp: path.resolve(__dirname, 'src/sharp-fix.js')
1515
}
1616
},
17+
optimization: {
18+
splitChunks: false,
19+
},
1720
target: 'electron-main',
1821
output: {
1922
filename: '[name].js',
23+
asyncChunks: false
2024
},
2125
module: {
2226
rules: require('./webpack.rules'),

0 commit comments

Comments
 (0)