Skip to content

Commit 2b0bd08

Browse files
Merge pull request #73 from dashukin/patch-1
flushChunks: remove css files duplicates
2 parents 1be8449 + b3534a3 commit 2b0bd08

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/flushChunks.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ const flushChunks = (stats: Stats, isWebpack: boolean, opts: Options = {}) => {
7979
...jsBefore, // likely nothing in here, but if so: bootstrap.css, vendor.css, etc
8080
...jsAfter.reverse(), // main.css, someElseYouPutBeforeMain.css, etc
8181
...files // correct incrementing order already
82-
],
82+
].filter(isUnique),
8383
stats,
8484
opts.outputPath
8585
)

0 commit comments

Comments
 (0)