buildRegistry in ModuleLoader doesn't handle case of immediate node_modules
See original GitHub issueE.g. if an input is node_modules/left-pad/index.js
that never hits the split for /node_modules/
and thus isn’t subject to the resolve algorithm.
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Webpack not excluding node_modules - Stack Overflow
From your config file, it seems like you're only excluding node_modules from being parsed with babel-loader , but not from being bundled.
Read more >`ts-node` fails when ES Modules are in the dependency graph ...
If we use module: 'commonjs' , then if any TS files import ES Modules (indirectly in their dependency graph), then Node throws an...
Read more >How to transpile ES modules with webpack and Node.js
Learn how webpack interacts with and supports ES modules in this deep dive tutorial on transpilation in Node.js.
Read more >Node Modules at War: Why CommonJS and ES ... - Code Red
The ESM module loader then asynchronously downloads and parses any scripts that you imported, and then scripts that your scripts imported, ...
Read more >A Guide to Managing Webpack Dependencies - Toptal
js, one of today's most popular JavaScript frameworks, module bundlers allow loading NPM modules in web browsers, and component-oriented libraries (like React) ...
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
That PR is the culmination of a year’s work.
Closed by #2130