Option to mark all node_modules as externals
See original GitHub issueReferring to this issue (https://github.com/AnomalyInnovations/serverless-nodejs-starter/issues/61) created by @OBrown92.
There are some cases (like when using ejs
) when you need to explicitly exclude pretty much all packages.
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Option to treat all node modules as external · Issue #619
I think what is desirable for this proposed option would be if ESBuild treated every package in node_modules/ as an external (or perhaps ......
Read more >webpack-node-externals
This library creates an externals function that ignores node_modules when bundling in Webpack.
Read more >Externals
The externals configuration option provides a way of excluding dependencies from the output bundles. Instead, the created bundle relies on that dependency ...
Read more >How to set as external all node modules in rollup?
I want to have all modules imported from node_modules as external. What is the configuration for this? import multiEntry from "rollup-plugin- ...
Read more >node_modules/webpack-node-externals · master - PLMlab
This library scans the node_modules folder for all node_modules names, and builds an externals function that tells Webpack not to bundle those modules, ......
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
Just an easy way to do stage 0 and newer syntax admittedly, it’s not always that I do it , I am happy with excluding the way I can do it now. This would just be a handy helper.
On the flip side, if everything is excluded, then whats the point of using Webpack?