Not working "Why aren't files in node_modules being transformed?"
See original GitHub issueNot working:
.transform(babelify, { global: true, ignore: [/\/node_modules\/(?!app\/)/] })
Issue Analytics
- State:
- Created 4 years ago
- Reactions:4
- Comments:14 (1 by maintainers)
Top Results From Across the Web
jestjs - `transformIgnorePatterns` not working to include some ...
The answer lies hidden in the documentation (emphasis mine):. If the file path matches any of the patterns, it will not be transformed....
Read more >How to find out which of my node_modules recently changed?
... just popped up out of nowhere and I needed to determine which of my node_modules recently changed and caused the bug. This...
Read more >How to transpile node_modules with babel and webpack in a ...
This came with the usual consequences such as onClick functions not working etc. We were naturally concerned about this, and upon investigation ...
Read more >Node module size: See how I reduced it by 90% | TSH.io
Performance is not a problem for Node.js (unless you accidentally block ... but it quickly turned out that the real problem is node_modules....
Read more >ts-node - npm
An ignored file can still be executed by node.js. Ignoring a file means we do not transform it from TypeScript into JavaScript, but...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Gentlemen, I believe we all have been deceived by Windows once again. I’ve added some logging and noticed that we have
\
instead of/
in filename:So the fix is to make it platform-independent:
Hope it helps!
I can’t seem to get this to work at all. The global option no longer works, setting ignores in my gulpfile does not work, removing my config into babel.config.js or babel.config.json does not work. I’m stumped as to how I can transfom a package. Any help would be greatly appreciated.