Проект разделен на два репозитория
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
/** @type {import('workbox-build').GenerateSWOptions} */
|
||||
module.exports = {
|
||||
globDirectory: "dist",
|
||||
globPatterns: ["**/*.{js,css,html,ico,png,json,woff2,svg,webp}"],
|
||||
globIgnores: ["**/node_modules/**"],
|
||||
swDest: "dist/service-worker.js",
|
||||
cleanupOutdatedCaches: true,
|
||||
navigateFallback: "/index.html",
|
||||
navigateFallbackDenylist: [/^\/api(?:\/|$)/, /^\/auth(?:\/|$)/],
|
||||
};
|
||||
Reference in New Issue
Block a user