webpack-node-externals icon indicating copy to clipboard operation
webpack-node-externals copied to clipboard

Easily exclude node modules in Webpack

Results 56 webpack-node-externals issues
Sort by recently updated
recently updated
newest added

Hey, building a FE npm library that is published and used by me on another React project. Since I have all dependencies already in node modules of main project I...

When I add this to my commonconfig in webpack, it throws this error. I can't understand why is it occurring or how to solve this. Any help will be appreciated.

help wanted

Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7. Commits See full diff in compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=path-parse&package-manager=npm_and_yarn&previous-version=1.0.6&new-version=1.0.7)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...

dependencies

Seems like the fileName is not picked up when using this plugin. See below, where I for testing purposes a completely fake path, it still just gives an error Configuration:...

Bumps [lodash](https://github.com/lodash/lodash) from 4.17.20 to 4.17.21. Commits f299b52 Bump to v4.17.21 c4847eb Improve performance of toNumber, trim and trimEnd on large input strings 3469357 Prevent command injection through _.template's variable...

dependencies

Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.8.8 to 2.8.9. Changelog Sourced from hosted-git-info's changelog. 2.8.9 (2021-04-07) Bug Fixes backport regex fix from #76 (29adfe5), closes #84 Commits 8d4b369 chore(release): 2.8.9 29adfe5 fix: backport...

dependencies

We are facing this issue (webpack 5): ```typescript export default function config(): Configuration { return { ..., externals: [ nodeExternals({ modulesDir: path.resolve(__dirname, 'node_modules'), allowlist: ['@services/shared'], }), ], }; } ```...

say you whitelist module 'a', which has a dependency on module 'b'. ```sh node_modules a node_modules b ``` whitelisting a will pull it into the root directory, at which point...

When I install postcss on my gulp, gulp stop working and give me that error and I don't understand why, this is the code on gulpfile.js: const {src, dest, watch}...