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
The plugin is not removing style only entries on subsequent compilation when running webpack in watch mode. The first run goes fine, but then it runs into issues with the _collectedModules cache.
The first run will have already pushed the style only entries into it, and it will return an empty list for the resources of the module, it will then not be considered a style only module.
Would you consider reseting _collectedModules on every watch? Or maybe improving this cache to contain whether the module is style only (or not)?
The text was updated successfully, but these errors were encountered:
The plugin is not removing style only entries on subsequent compilation when running webpack in watch mode. The first run goes fine, but then it runs into issues with the
_collectedModules
cache.webpack-fix-style-only-entries/index.js
Lines 69 to 72 in 7557e38
The first run will have already pushed the style only entries into it, and it will return an empty list for the resources of the module, it will then not be considered a style only module.
Would you consider reseting
_collectedModules
on every watch? Or maybe improving this cache to contain whether the module is style only (or not)?The text was updated successfully, but these errors were encountered: