mirror of
https://gitee.com/fantastic-admin/basic.git
synced 2024-11-29 18:48:31 +08:00
build: 增加最低 node 版本限制
This commit is contained in:
parent
fa81882f25
commit
4ac539d082
1
.npmrc
1
.npmrc
@ -1,2 +1,3 @@
|
|||||||
shamefully-hoist=true
|
shamefully-hoist=true
|
||||||
strict-peer-dependencies=false
|
strict-peer-dependencies=false
|
||||||
|
engine-strict=true
|
||||||
|
@ -1,6 +1,9 @@
|
|||||||
{
|
{
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "4.6.1",
|
"version": "4.6.1",
|
||||||
|
"engines": {
|
||||||
|
"node": "^18.0.0 || ^20.0.0"
|
||||||
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
"build": "vue-tsc && vite build",
|
"build": "vue-tsc && vite build",
|
||||||
|
Loading…
Reference in New Issue
Block a user