Created
December 29, 2023 07:45
-
-
Save sky0014/f815dbcf9121f87e22785c3909194296 to your computer and use it in GitHub Desktop.
Webpack exclude part of node modules
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
test: /\.js$/, | |
exclude: /node_modules\/(?!(MY-MODULE|ANOTHER-ONE)\/).*/, | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment