Skip to content

Commit b835e71

Browse files
committed
fix: plugin val
1 parent 95b1cc0 commit b835e71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/groups/advanced.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ class AdvancedGroup extends GroupHelper {
6060
}
6161
if (args.prefetch) {
6262
const PrefetchPlugin = require('webpack').PrefetchPlugin;
63-
const prefetchVal = new PrefetchPlugin(args.prefetch);
63+
const prefetchVal = new PrefetchPlugin(null, args.prefetch[0]);
6464
if (this.opts.options && this.opts.options.plugins) {
6565
this.opts.options.plugins.unshift(prefetchVal);
6666
} else {

0 commit comments

Comments
 (0)