How to remove node_module from bundle #29552
Unanswered
tomvorel13
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
How do I remove a node_module from the final bundle? I have a custom Webpack config (which currently does not work as
exclude
is an unknown property). I'm trying to remove Moment.js from my final bundle as it is a peer dependency of Chart.js, but I'm not using it.I'll be grateful for help!
Beta Was this translation helpful? Give feedback.
All reactions