Skip to content

Commit 0510ec3

Browse files
committed
Fix assign
1 parent dc72361 commit 0510ec3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ class BundleTrackerPlugin {
103103
* @param {Partial<Contents>} contents
104104
*/
105105
_writeOutput(_compiler, contents) {
106-
Object.assign({}, this.contents, contents, {
106+
Object.assign(this.contents, contents, {
107107
assets: mergeObjectsAndSortKeys(this.contents.assets, contents.assets),
108108
chunks: mergeObjectsAndSortKeys(this.contents.chunks, contents.chunks),
109109
});

0 commit comments

Comments
 (0)