Skip to content

Commit

Permalink
Fixed automaticPrefetchPlugin to not apply loaders via config to the …
Browse files Browse the repository at this point in the history
…requests
  • Loading branch information
nveenjain committed Jul 30, 2019
1 parent c841887 commit 2959461
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/AutomaticPrefetchPlugin.js
Expand Up @@ -44,7 +44,7 @@ class AutomaticPrefetchPlugin {
(m, callback) => {
compilation.prefetch(
m.context || compiler.context,
new PrefetchDependency(m.request),
new PrefetchDependency(`!!${m.request}`),
callback
);
},
Expand Down

0 comments on commit 2959461

Please sign in to comment.