webpack-node-externals
webpack-node-externals copied to clipboard
Easily exclude node modules in Webpack
Hello, I have the following configuration: node 10.16.0 electron 3.0.2 webpack 4.20.2 webpack-node-externals 1.7.2 When adding the line `externals: [nodeExternals()],` in my webpack script I get the error: ``` vm.js:74...
I have just started to study Webpack and trying to setup development environment based on Webpack4. I put one script for executing dev server in `package.json` like bellow. \# **package.json**...
`webpack-cli` version = 3.1.0 **package.json** { "name": "zinuku", "version": "1.0.0", "description": "", "main": "index.jsx", "scripts": { "build": "webpack-cli", "start": "webpack-dev-server" }, "dependencies": { "react": "^16.4.1", "react-dom": "^16.4.1" }, "devDependencies": {...
Hey, still trying to learn a little more about this module and `mocha-webpack` to get our team's testing suite a lot less janky, and it's looking very promising. Unfortunately I...
I use nodeExternals a lot to build server-side modules, but I get this error for any project that depends (indirectly) on redis (all other modules -- 1000s of them --...
Hello, So i'm encounter of creating sub part as external application program that depending on other existing programs. Example for that creating sub project to update some entries in database,...
According to Readme, webpack-node-externals exclude any node_modules on server side. I have a React SSR project and in webpack config for server side, I added this plugin in externals fields....
Can't find a way to whitelist all imports that would require a .css files from node_modules I tried with this regex, the same that my loader: /\.scss|sass|css$/ but no luck...
Hello, I'm trying to use nodeExternals for a React app that has SSR and trying to get HMR working. In my server config I've added nodeExternals as such: ``` nodeExternals({whitelist:...
I'm not sure how transitive deps work with this module. Say if a direct dep is whitelisted, are the transitive deps of the direct dep also whitelisted? Can you also...