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
Please tell us about your environment: Mac OS 10.11.mumble, Node v6.2.2
Current behavior:
When running webpack (npm run webpack) in this project, Webpack adds new entries to webpack-records.json, even though there are no code changes. Every run adds new records, causing the file to grow without bound.
(The added records are identical to records already present in the file.)
The duplicate records appear in the section associated with the ExtractTextPlugin, but I've been able to reproduce this with other plugins, as well (including HtmlPlugin).
Expected/desired behavior:
Records files change only when modules are added to or removed from the bundle.
Duplicate sections do not appear in records files.
The text was updated successfully, but these errors were encountered:
This might be a problem with extract-text-webpack-plugin (or with child compiler handling), or at least I encountered a similar issue a few months ago with webpack@2.1.0-beta.21 + extract-text-webpack-plugin@2.1.0-beta.3.
On every build that used the recordsPath, the "extract-text-webpack-plugin" array in the records JSON would be appended with a new modules/chunks object.
This was a "disposable" project so I didn't pay it much mind, and I periodically delete the records anyway to re-optimize the chunk IDs.
This is a breaking change because plugins or loader could rely on this incorrect behavior
When using child compilations plugins and loaders should use a unique compiler name or use a consistent order
fixes#2777
Webpack version: 1.13.0
Please tell us about your environment: Mac OS 10.11.mumble, Node v6.2.2
Current behavior:
When running
webpack
(npm run webpack
) in this project, Webpack adds new entries towebpack-records.json
, even though there are no code changes. Every run adds new records, causing the file to grow without bound.Example diff:
(The added records are identical to records already present in the file.)
The duplicate records appear in the section associated with the
ExtractTextPlugin
, but I've been able to reproduce this with other plugins, as well (includingHtmlPlugin
).Expected/desired behavior:
The text was updated successfully, but these errors were encountered: