English
resolveDefaultConfig
Function @unplugin-pwa/core/configts
resolveDefaultConfig(cwd: string): string | undefinedLoads the first existing default configuration file from the current working directory.
The default configuration files are searched in the following order:
pwa.config.jspwa.config.tspwa.config.mjspwa.config.mts
Parameters
cwd– The current working directory to search for the default configuration files. Defaults toprocess.cwd().
Returns: The path to the first existing default configuration file, or undefined if none are found.