You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Does not crash on successive webpack builds in watch mode.
Actual Behavior
Crashes on successive webpack builds in watch mode; not on the initial watch build tho.
Call Stack
TypeError: Cannot read property 'entries' of undefined
at LintDirtyModulesPlugin.getChangedFiles (C:\Users\user\Projects\project\node_modules\stylelint-webpack-plugin\dist\LintDirtyModulesPlugin.js:53:56)
at LintDirtyModulesPlugin.apply (C:\Users\user\Projects\project\node_modules\stylelint-webpack-plugin\dist\LintDirtyModulesPlugin.js:34:31)
at compiler.hooks.emit.tapAsync (C:\Users\user\Projects\project\node_modules\stylelint-webpack-plugin\dist\index.js:38:19)
at _next1 (eval at create (C:\Users\user\Projects\project\node_modules\webpack\node_modules\tapable\lib\HookCodeFactory.js:33:10), <anonymous>:56:1)
at _err1 (eval at create (C:\Users\user\Projects\project\node_modules\webpack\node_modules\tapable\lib\HookCodeFactory.js:33:10), <anonymous>:82:1)
at WebpackAssetsManifest.handleEmit (C:\Users\user\Projects\project\node_modules\webpack-assets-manifest\src\WebpackAssetsManifest.js:486:5)
at Hook.eval [as callAsync] (eval at create (C:\Users\user\Projects\project\node_modules\webpack\node_modules\tapable\lib\HookCodeFactory.js:33:10), <anonymous>:78:1)
at Compiler.emitAssets (C:\Users\user\Projects\project\node_modules\webpack\lib\Compiler.js:536:19)
at process.nextTick (C:\Users\user\Projects\project\node_modules\webpack\lib\Watching.js:75:21)
at process._tickCallback (internal/process/next_tick.js:61:11)
How Do We Reproduce?
Use webpack 5.beta0 and stylelint-webpack-plugin with the lintDirtyModulesOnly option enabled and run webpack in watch mode and after the initial build, change a file which should trigger a rebuild - this time the plugin will crash.
Environment
OS: Windows 10
Node: 10
NPM: 6.11
webpack: 5.beta0
stylelint-webpack-plugin: 1.0.2
The text was updated successfully, but these errors were encountered:
thasmo
changed the title
Crashes when using lintDirtyModulesOnly and webpack 5.beta1
Crashes when using lintDirtyModulesOnly and webpack 5.beta0
Oct 12, 2019
Expected Behavior
Does not crash on successive webpack builds in watch mode.
Actual Behavior
Crashes on successive webpack builds in watch mode; not on the initial watch build tho.
Call Stack
How Do We Reproduce?
Use
webpack
5.beta0 andstylelint-webpack-plugin
with thelintDirtyModulesOnly
option enabled and runwebpack
in watch mode and after the initial build, change a file which should trigger a rebuild - this time the plugin will crash.Environment
The text was updated successfully, but these errors were encountered: