Skip to content

Commit

Permalink
Suppress (hidden) expected Webpack warnings due to dynamic require an…
Browse files Browse the repository at this point in the history
…d bundle size.
  • Loading branch information
DavidAnson committed Dec 11, 2024
1 parent 8b26129 commit 65eeb4c
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion demo/webpack.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,18 @@ function config(options) {
"path": false,
"module": require.resolve("./module-stub.cjs")
}
}
},
"ignoreWarnings": [
{
"message": /(asset|entrypoint) size limit/
},
{
"message": /dependencies cannot be statically extracted/
},
{
"message": /lazy load some parts of your application/
}
]
};
}

Expand Down

0 comments on commit 65eeb4c

Please sign in to comment.