Skip to content

Commit

Permalink
fix: default chunks to context when no context passed
Browse files Browse the repository at this point in the history
  • Loading branch information
byzyk committed Mar 18, 2018
1 parent 90552da commit ae18a5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/SourceMapDevToolPlugin.js
Expand Up @@ -97,7 +97,7 @@ class SourceMapDevToolPlugin {
name: "SourceMapDevToolPlugin",
context: true
},
(context, chunks) => {
(context, chunks = context) => {
const moduleToSourceNameMapping = new Map();
const reportProgress =
context && context.reportProgress
Expand Down

0 comments on commit ae18a5a

Please sign in to comment.