webpack-emit-all-plugin
webpack-emit-all-plugin copied to clipboard
webpack, but without the `pack`
This does not work for webpack 5
This fixes the `Cannot read property '_value' of null` error discussed in #2 and #6 for ContextModules in addition to MultiModules. Since we only want to emit modules with `_source`...
Hi all, I'm compiling a TypeScript library to be used on Node Applications (Lambdas). I tried using this plugin but couldn't get past the `cannot read property of _value of...
```/Users/.../node_modules/webpack-emit-all-plugin/index.js:28 [1] const source = mod._source._value; [1] ^ [1] [1] TypeError: Cannot read property '_value' of null [1] at modules.forEach.mod (/Users/.../node_modules/webpack-emit-all-plugin/index.js:28:48) [1] at Array.forEach () [1] at compiler.hooks.afterCompile.tapAsync (/Users/.../node_modules/webpack-emit-all-plugin/index.js:19:25) [1]...
I get 'Cannot read property 'afterCompile' of undefined' error while bundling. `package.json` : { ... devDependencies: { ... "webpack": "2.2.1", "webpack-emit-all-plugin": "^2.0.1", ... } ... } `webpack.config.js` : const CopyWebpackPlugin...
I was getting a problem with a resource path being undefined. Not sure if it was due to our code splitting setup, but this fixed the problem for us. Also...