Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 646a3d0

Browse files
committed
fix(unhead): avoid explicit vite dependency
Fixes #662
1 parent 35610ec commit 646a3d0

2 files changed

Lines changed: 12 additions & 1 deletion

File tree

packages/unhead/package.json

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,9 +146,19 @@
146146
"test:attw": "attw --pack",
147147
"prepack": "pnpm run build"
148148
},
149+
"peerDependencies": {
150+
"vite": ">=6"
151+
},
152+
"peerDependenciesMeta": {
153+
"vite": {
154+
"optional": true
155+
}
156+
},
149157
"dependencies": {
150158
"hookable": "catalog:",
151-
"magic-string": "catalog:",
159+
"magic-string": "catalog:"
160+
},
161+
"devDependencies": {
152162
"vite": "catalog:"
153163
}
154164
}

pnpm-lock.yaml

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)