We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95b1cc0 commit b835e71Copy full SHA for b835e71
lib/groups/advanced.js
@@ -60,7 +60,7 @@ class AdvancedGroup extends GroupHelper {
60
}
61
if (args.prefetch) {
62
const PrefetchPlugin = require('webpack').PrefetchPlugin;
63
- const prefetchVal = new PrefetchPlugin(args.prefetch);
+ const prefetchVal = new PrefetchPlugin(null, args.prefetch[0]);
64
if (this.opts.options && this.opts.options.plugins) {
65
this.opts.options.plugins.unshift(prefetchVal);
66
} else {
0 commit comments