Skip to content

Commit 60e1afe

Browse files
author
Legends
committed
AutomaticPrefetchPlugin typings added
1 parent 02a955b commit 60e1afe

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/AutomaticPrefetchPlugin.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ const PrefetchDependency = require("./dependencies/PrefetchDependency");
99
const NormalModule = require("./NormalModule");
1010

1111
class AutomaticPrefetchPlugin {
12+
/**
13+
* Apply the plugin
14+
* @param {TODO} compiler Webpack Compiler
15+
* @returns {void}
16+
*/
1217
apply(compiler) {
1318
compiler.hooks.compilation.tap(
1419
"AutomaticPrefetchPlugin",

0 commit comments

Comments
 (0)