mirror of
https://github.com/CharaChorder/DeviceManager.git
synced 2026-01-05 01:22:50 +00:00
fix: pwa tries to include build-only files
This commit is contained in:
@@ -42,7 +42,8 @@ export default defineConfig({
|
||||
base: "/",
|
||||
includeAssets: ["favicon.png"],
|
||||
workbox: {
|
||||
globPatterns: ["**/*.{js,css,html,woff2,json,csv,png,svg}"],
|
||||
// https://vite-pwa-org.netlify.app/frameworks/sveltekit.html#globpatterns
|
||||
globPatterns: ["client/**/*.{js,css,woff2,json,csv,png,svg}", "prerendered/**/*.html"],
|
||||
},
|
||||
manifest: {
|
||||
name: "CharaChorder Device Manager",
|
||||
|
||||
Reference in New Issue
Block a user