Skip to content

ExternalVitePWAOptions ​

Interface unplugin-pwa-core

Properties ​

PropertyTypeDefaultDescription
cwd?stringprocess.cwd()Current working directory to load external configuration options.
mergeOptions?booleanfalseWhen path is specified, should merge inlined options and the configuration?

NOTE: inlined options will override external configuration options.
path?stringpath to load external configuration options:
- can be an absolute path
- can be a relative path, which will be resolved relative to cwd (or process.cwd() if cwd is not specified)

Released under the MIT License.