English
loadConfiguration
Function @unplugin-pwa/core/configts
loadConfiguration(options: Partial<VitePWAOptions<S, T>>): Promise<Partial<VitePWAOptions<S, T>>>Loads the PWA configuration from a specified path.
If the path options is not provided, it will return the provided options as is.
Otherwise, it will attempt to load the configuration from the specified path and merge it with the provided options if mergeOptions is set to true.
Parameters
options– The partial PWA options to load.
Returns: The resolved PWA options, merged with the provided options if mergeOptions is set to true.