Skip to content

Commit

Permalink
trying with service worker taken from old create-react-app version
Browse files Browse the repository at this point in the history
  • Loading branch information
adueck committed Aug 15, 2024
1 parent c661f0c commit 4641145
Show file tree
Hide file tree
Showing 8 changed files with 3,749 additions and 208 deletions.
1,552 changes: 1,452 additions & 100 deletions website/package-lock.json

Large diffs are not rendered by default.

21 changes: 18 additions & 3 deletions website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,30 @@
"react-player": "^2.11.0",
"react-router-dom": "^5.2.0",
"relevancy": "^0.2.0",
"save-dev": "^0.0.1-security",
"stripe": "^10.14.0",
"supermemo": "^2.0.17",
"sylviejs": "^0.0.14",
"vite-plugin-pwa": "^0.20.1"
"tsup": "^8.2.4",
"vite-plugin-pwa": "^0.20.1",
"workbox-background-sync": "^5.1.3",
"workbox-broadcast-update": "^5.1.3",
"workbox-cacheable-response": "^5.1.3",
"workbox-core": "^5.1.3",
"workbox-expiration": "^5.1.3",
"workbox-google-analytics": "^5.1.3",
"workbox-navigation-preload": "^5.1.3",
"workbox-precaching": "^5.1.3",
"workbox-range-requests": "^5.1.3",
"workbox-routing": "^5.1.3",
"workbox-strategies": "^5.1.3",
"workbox-streams": "^5.1.3"
},
"scripts": {
"dev": "vite",
"lint": "eslint .",
"test": "jest",
"build": "tsc -b && vite build",
"build": "rm -rf dist && tsc -b && vite build && bun build src/service-worker.ts --outdir ./dist",
"preview": "vite preview",
"test-ci": "yarn test --watchAll=false"
},
Expand Down Expand Up @@ -85,6 +99,7 @@
"@types/react-image-crop": "^8.1.2",
"@types/react-router-dom": "^5.1.7",
"@vitejs/plugin-react": "^4.3.1",
"bun": "^1.1.24",
"fake-indexeddb": "^3.1.2",
"history": "4",
"jest": "^29.7.0",
Expand All @@ -95,4 +110,4 @@
"user-event": "^4.0.0",
"vite": "^5.4.0"
}
}
}
16 changes: 0 additions & 16 deletions website/public/service-worker.js

This file was deleted.

Loading

0 comments on commit 4641145

Please sign in to comment.