interface ModulePreloadOptions {
    polyfill?: boolean;
    resolveDependencies?: ResolveModulePreloadDependenciesFn;
}

Properties

polyfill?: boolean

Whether to inject a module preload polyfill. Note: does not apply to library mode.

Default

true

Resolve the list of dependencies to preload for a given dynamic import