Skip to content

Commit

Permalink
fix(pwa): make sure the service worker can be loaded (#1594)
Browse files Browse the repository at this point in the history
Co-authored-by: Stefan Dej <[email protected]>
  • Loading branch information
pataar and meteyou authored Dec 1, 2023
1 parent 82f0647 commit 0f695db
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 17 deletions.
15 changes: 0 additions & 15 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 0f695db

Please sign in to comment.