diff --git a/.changeset/eighty-bags-beg.md b/.changeset/eighty-bags-beg.md new file mode 100644 index 00000000..11ba7236 --- /dev/null +++ b/.changeset/eighty-bags-beg.md @@ -0,0 +1,5 @@ +--- +"@ducanh2912/next-pwa": patch +--- + +fix(next-pwa): fixed build crashing when swcMinify is set to false diff --git a/docs/content/next-pwa/configuring.mdx b/docs/content/next-pwa/configuring.mdx index bec650a9..7d33ec36 100644 --- a/docs/content/next-pwa/configuring.mdx +++ b/docs/content/next-pwa/configuring.mdx @@ -79,6 +79,8 @@ export default withPWA({ - `extendDefaultRuntimeCaching` — Extend the default `runtimeCaching` array. Only effective when `runtimeCaching` is specified. +- `swcMinify` — Use [`swc`](https://swc.rs) to minify the custom worker, fallback worker,... + ### Experimental - `aggressiveFrontEndNavCaching` — Cache every `` and `