Skip to content

Commit

Permalink
fix(options): use filename mutated after instantiation (#183)
Browse files Browse the repository at this point in the history
  • Loading branch information
ScriptedAlchemy committed Aug 3, 2019
1 parent f6b5252 commit b7045c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Expand Up @@ -124,7 +124,7 @@ class ExtractCssChunksPlugin {
this.options = Object.assign(
{
filename: DEFAULT_FILENAME,
moduleFilename: () => options.filename || DEFAULT_FILENAME,
moduleFilename: () => this.options.filename || DEFAULT_FILENAME,
},
options
);
Expand Down

0 comments on commit b7045c5

Please sign in to comment.