How to prevent webpack from ever parsing some .js file #21047
-
|
We are using a third party .js library in our project - the file is large, and is minified and obfuscated. We would like to output it as is - without running any processing on it. Disabling minification is straight forward - in our case using However, with minification disabled we see that what was originally minified code is now "pretty-printed", with newlines and whitespaces. I tried setting I can't use simply copy-file approach since i do want to Is such pass-through of JS code supported somehow? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
|
Beta Was this translation helpful? Give feedback.
module.noParseshould work, we just don't parse this file and so include as is, can you show me an example using github?