Skip to content

Commit ae18a5a

Browse files
committed
fix: default chunks to context when no context passed
1 parent 90552da commit ae18a5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/SourceMapDevToolPlugin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ class SourceMapDevToolPlugin {
9797
name: "SourceMapDevToolPlugin",
9898
context: true
9999
},
100-
(context, chunks) => {
100+
(context, chunks = context) => {
101101
const moduleToSourceNameMapping = new Map();
102102
const reportProgress =
103103
context && context.reportProgress

0 commit comments

Comments
 (0)