Skip to content

Commit

Permalink
Merge branch 'fix/firefox-build' into tmp/20241218
Browse files Browse the repository at this point in the history
  • Loading branch information
hz002 committed Dec 19, 2024
2 parents 9156aac + d730e8a commit ee597f4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build/webpack.common.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,8 @@ const config = {
optimization: {
splitChunks: {
...(IS_FIREFOX && {
chunks: 'all',
chunks: (chunk) =>
chunk.name !== 'content-script' && chunk.name !== 'pageProvider',
minSize: 10000,
maxSize: 4000000,
minChunks: 1,
Expand Down

0 comments on commit ee597f4

Please sign in to comment.