Skip to content

Commit

Permalink
fix: firefox can not connect dapp (#2682)
Browse files Browse the repository at this point in the history
  • Loading branch information
vvvvvv1vvvvvv authored Dec 20, 2024
1 parent 1c2ea9b commit 8d83865
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 8d83865

Please sign in to comment.