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

That's my current solution that works as exected. All `node_modules` are excluded from build except for `some-library`. When I compile the code then I can see the source of `some-library`...

I'm building an application with Electron where all the node_modules are shipped alongside the application, rather than packed with Webpack. One module is a private package that needs to get...

I'm getting errors when using local npm package: ``` ... "common": "file:../common", ... ``` ``` Serverless: Packing external modules: aws-sdk@^2.270.1, uuid@^8.3.2, ramda@^0.27.1, common@file:../common, atob@^2.1.2, es6-promisify@^6.1.1, btoa@^1.2.1, node-forge@^0.10.0, slugify@^1.4.6, node-ses@^3.0.3, request-promise-native@^1.0.7,...

I'm looking at the additionalModuleDirs option to specify additional node_modules locations. I observe the code below: ```JS additionalModuleDirs.forEach(function (additionalDirectory) { console.log('...', additionalDirectory, utils.readDir(additionalDirectory).filter(isNotBinary)); nodeModules = nodeModules.concat( utils.readDir(additionalDirectory).filter(isNotBinary) ); }); ```...

There's a problem for me to do SSR building, it's our framework export alias module, and use `resolve.alias` to alias the module , like React, we use ```js import React...

I'm trying to use it to ignore standard node modules: ``` import nodeExternals from 'webpack-node-externals' const config = { ... externals: [nodeExternals()], target: 'node', } ``` but getting this: ```...

2.5.1 appears to have been released, but it's difficult to see exactly what changed without either of these artifacts. It *appears* to be [this diff](https://github.com/liady/webpack-node-externals/compare/23c124af73388ade75e3177e3a845e62a7c2698b...b21c8c05da8c7ef02f1f81469a2fcc93a8425c69).

help wanted

I am working on a node application using serverless architecture. We are using serverless-webpack plugin to build the application. Here is the webpack.config.js : ```javascript module.exports = { mode: isLocal...

https://github.com/jaredpalmer/razzle/issues/1070

I'm using this plugin as such: ```js externals: [ nodeExternals(), ], ``` In one of my sass files, I do ```scss @import '~normalize/normalize.css' ``` The generated server bundle still contains...

help wanted