Skip to content

Commit

Permalink
fix(pwa): make sure the service worker can be loaded
Browse files Browse the repository at this point in the history
  • Loading branch information
pataar committed Oct 7, 2023
1 parent 3212234 commit 7a394bb
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 15 deletions.
13 changes: 0 additions & 13 deletions src/sw.ts

This file was deleted.

2 changes: 0 additions & 2 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ import { VitePWA, VitePWAOptions } from 'vite-plugin-pwa'

const PWAConfig: Partial<VitePWAOptions> = {
registerType: 'autoUpdate',
srcDir: 'src',
filename: 'sw.ts',
includeAssets: ['fonts/**/*.woff2', 'img/**/*.svg', 'img/**/*.png'],
manifest: {
name: 'Mainsail',
Expand Down

0 comments on commit 7a394bb

Please sign in to comment.