Skip to content

Commit 4ac539d

Browse files
committed
build: 增加最低 node 版本限制
1 parent fa81882 commit 4ac539d

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.npmrc

+1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
shamefully-hoist=true
22
strict-peer-dependencies=false
3+
engine-strict=true

package.json

+3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
{
22
"type": "module",
33
"version": "4.6.1",
4+
"engines": {
5+
"node": "^18.0.0 || ^20.0.0"
6+
},
47
"scripts": {
58
"dev": "vite",
69
"build": "vue-tsc && vite build",

0 commit comments

Comments
 (0)