Skip to content

Commit 641b7a8

Browse files
authored
feat!: update vite-plugin-pwa to v1.0.0 (#42)
1 parent 8c8657d commit 641b7a8

File tree

3 files changed

+410
-461
lines changed

3 files changed

+410
-461
lines changed

examples/pwa-simple-assets-generator/.vitepress/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export default withPwa(defineConfig({
5757
includeAllowlist: true,
5858
},
5959
devOptions: {
60-
enabled: false,
60+
enabled: true,
6161
suppressWarnings: true,
6262
navigateFallback: '/',
6363
},

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@
4343
"release": "bumpp && npm publish"
4444
},
4545
"peerDependencies": {
46-
"@vite-pwa/assets-generator": "^0.2.6",
47-
"vite-plugin-pwa": ">=0.21.2 <1"
46+
"@vite-pwa/assets-generator": "^1.0.0",
47+
"vite-plugin-pwa": "^1.0.0"
4848
},
4949
"peerDependenciesMeta": {
5050
"@vite-pwa/assets-generator": {
@@ -55,14 +55,15 @@
5555
"@antfu/eslint-config": "^4.11.0",
5656
"@antfu/ni": "^0.21.9",
5757
"@types/debug": "^4.1.12",
58+
"@types/node": "^20.8.7",
5859
"@typescript-eslint/eslint-plugin": "^6.11.0",
5960
"bumpp": "^9.2.0",
6061
"eslint": "^9.23.0",
6162
"https-localhost": "^4.7.1",
6263
"typescript": "^5.4.5",
6364
"unbuild": "^2.0.0",
6465
"vite": "^5.2.10",
65-
"vite-plugin-pwa": ">=0.21.2 <1",
66+
"vite-plugin-pwa": "^1.0.0",
6667
"vitepress": "^1.1.4"
6768
},
6869
"pnpm": {

0 commit comments

Comments
 (0)