Skip to content
This repository was archived by the owner on May 31, 2021. It is now read-only.

Commit b7045c5

Browse files
fix(options): use filename mutated after instantiation (faceyspacey#183)
1 parent f6b5252 commit b7045c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ class ExtractCssChunksPlugin {
124124
this.options = Object.assign(
125125
{
126126
filename: DEFAULT_FILENAME,
127-
moduleFilename: () => options.filename || DEFAULT_FILENAME,
127+
moduleFilename: () => this.options.filename || DEFAULT_FILENAME,
128128
},
129129
options
130130
);

0 commit comments

Comments
 (0)