Skip to content

edwinvdgraaf/require-prefetch-webpack-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Require prefetch webpack plugin

This plugin adds the ablility to prefechting module chunks on demand, this can be usefull where chunks have a high certainty to be used on the next navigation.

Example

function loadBar() {
  return import("./bar");
}

require.prefetch("./bar")

About

Prefetch module chunks on demand with webpack

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published