Skip to content

Commit fc0b327

Browse files
author
Jason Milloff
committed
1 parent f6e366b commit fc0b327

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/WebpackOptionsDefaulter.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,8 @@ class WebpackOptionsDefaulter extends OptionsDefaulter {
128128
}
129129
});
130130
this.set("output.devtoolNamespace", "make", options => {
131+
if (Array.isArray(options.output.library))
132+
return [].concat(options.output.library).join(".");
131133
return options.output.library || "";
132134
});
133135
this.set("output.libraryTarget", "var");

0 commit comments

Comments
 (0)