Creates a new PreloadsManager instance
Configuration options including environment
Pass an array of preload modules to import
Array of preload modules to register
this - Returns the PreloadsManager instance for method chaining
Switch the environment in which the app is running.
The new environment to set
this - Returns the PreloadsManager instance for method chaining
Import preload files
Promise that resolves when all preload modules have been imported
The PreloadsManager class is used to resolve and import preload modules.
The class relies on "import.meta.resolve" to resolve the provider modules from the root of the application.