DuCanhGH
released this
29 Jan 06:35
·
28 commits
to master
since this release
Patch Changes
-
e5f1d14
Thanks @DuCanhGH! - fix(core): fixed invalid precache manifest and scope withbasePath
- A fast backport of serwist/serwist#56.
- This was caused by "/_next/../public" in modifyURLPrefix not being matched when basePath was set, since the URL was actually "${basePath}/_next/../public/**/*". We now use
manifestTransforms
instead ofmodifyURLPrefix
. - Also, with the refactor to using a context, we mistakenly changed
scope
from "${scope}" (suffixed with / if originally not) to "${basePath}/${scope}". This reverts that change. Sorry for the inconvenience!