mirror of
https://github.com/vitejs/vite.git
synced 2024-11-22 07:09:05 +00:00
feat: bump minimum node version to 14.18.0 (#8662)
This commit is contained in:
parent
c0e74e5f68
commit
8a05432e6d
@ -137,13 +137,13 @@ module.exports = defineConfig({
|
||||
'node/no-unsupported-features/es-builtins': [
|
||||
'error',
|
||||
{
|
||||
version: '>=14.6.0'
|
||||
version: '>=14.18.0'
|
||||
}
|
||||
],
|
||||
'node/no-unsupported-features/node-builtins': [
|
||||
'error',
|
||||
{
|
||||
version: '>=14.6.0'
|
||||
version: '>=14.18.0'
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -38,7 +38,7 @@ The supported template presets are:
|
||||
## Scaffolding Your First Vite Project
|
||||
|
||||
::: tip Compatibility Note
|
||||
Vite requires [Node.js](https://nodejs.org/en/) version >=14.6.0. However, some templates require a higher Node.js version to work, please upgrade if your package manager warns about it.
|
||||
Vite requires [Node.js](https://nodejs.org/en/) version >=14.18.0. However, some templates require a higher Node.js version to work, please upgrade if your package manager warns about it.
|
||||
:::
|
||||
|
||||
With NPM:
|
||||
|
@ -2,7 +2,7 @@
|
||||
"name": "vite-monorepo",
|
||||
"private": true,
|
||||
"engines": {
|
||||
"node": ">=14.6.0"
|
||||
"node": ">=14.18.0"
|
||||
},
|
||||
"homepage": "https://vitejs.dev/",
|
||||
"keywords": [
|
||||
|
@ -3,7 +3,7 @@
|
||||
## Scaffolding Your First Vite Project
|
||||
|
||||
> **Compatibility Note:**
|
||||
> Vite requires [Node.js](https://nodejs.org/en/) version >=14.6.0. However, some templates require a higher Node.js version to work, please upgrade if your package manager warns about it.
|
||||
> Vite requires [Node.js](https://nodejs.org/en/) version >=14.18.0. However, some templates require a higher Node.js version to work, please upgrade if your package manager warns about it.
|
||||
|
||||
With NPM:
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
],
|
||||
"main": "index.js",
|
||||
"engines": {
|
||||
"node": ">=14.6.0"
|
||||
"node": ">=14.18.0"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
@ -23,7 +23,7 @@
|
||||
"prepublishOnly": "npm run build"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=14.6.0"
|
||||
"node": ">=14.18.0"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
@ -27,7 +27,7 @@
|
||||
"prepublishOnly": "npm run build"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=14.6.0"
|
||||
"node": ">=14.18.0"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
@ -23,7 +23,7 @@
|
||||
"prepublishOnly": "npm run build"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=14.6.0"
|
||||
"node": ">=14.18.0"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
@ -23,7 +23,7 @@
|
||||
"prepublishOnly": "npm run build"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=14.6.0"
|
||||
"node": ">=14.18.0"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
@ -31,7 +31,7 @@
|
||||
"types"
|
||||
],
|
||||
"engines": {
|
||||
"node": ">=14.6.0"
|
||||
"node": ">=14.18.0"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
Loading…
Reference in New Issue
Block a user