Skip to content

Commit

Permalink
fix: remove unused imports in icons plugin (#161)
Browse files Browse the repository at this point in the history
  • Loading branch information
userquin authored Sep 4, 2024
1 parent 6032c89 commit f391b54
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 13 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"./configuration": {
"types": "./configuration.d.ts"
},
"./package.json": "./package.json",
"./*": "./*"
},
"main": "./dist/module.mjs",
Expand Down Expand Up @@ -63,7 +64,7 @@
"@nuxt/kit": "^3.9.0",
"pathe": "^1.1.1",
"ufo": "^1.3.2",
"vite-plugin-pwa": ">=0.20.3 <1"
"vite-plugin-pwa": ">=0.20.4 <1"
},
"devDependencies": {
"@antfu/eslint-config": "^0.43.1",
Expand All @@ -88,7 +89,7 @@
"@nuxt/kit": "^3.10.1"
},
"peerDependencies": {
"@vite-pwa/assets-generator": "^0.2.4"
"@vite-pwa/assets-generator": "^0.2.6"
},
"peerDependenciesMeta": {
"@vite-pwa/assets-generator": {
Expand Down
47 changes: 37 additions & 10 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/utils/pwa-icons-helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ function configureEntry<K extends keyof PWAIcons>(key: K) {
write: true,
getContents: () => `// Generated by @vite-pwa/nuxt
import { defineNuxtPlugin } from '#imports'
import type { PWAAssetIcon, PWAIcons } from '#build/pwa-icons/pwa-icons'
import type { PWAIcons } from '#build/pwa-icons/pwa-icons'
export default defineNuxtPlugin(() => {
return {
Expand Down

0 comments on commit f391b54

Please sign in to comment.