我开始使用next-pwa,基本的设置就像一种魅力。next.config.js包括标准的缓存条目和一个自定义的缓存条目,对于到/api/todoitem的每个请求,都应该使用策略StaleWhileRevalidate:const defaultRuntimeCaching = require("next-pwa/cache");
re
next-pwa面临着一个非常奇怪的问题。每当我试图构建包含自定义辅助器js文件的next-pwa项目时,生成都会失败,出现以下错误: at Function.from (buffer.js:333:9)
at writeOut (C:\Users\sdqui\Desktop\next-pwanode_modules\next\dist\compiled\neo-async