fix:Vite CJS Node API deprecated waring

This commit is contained in:
崮生 2025-01-08 01:18:50 +00:00
parent 49fc9b5412
commit 90fa5ffd81
4 changed files with 5 additions and 4 deletions

View File

@ -83,8 +83,8 @@
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit",
"source.fixAll.stylelint": "explicit"
// "source.fixAll.eslint": "explicit",
// "source.fixAll.stylelint": "explicit"
},
"[vue]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
@ -138,7 +138,7 @@
"*.ts": "$(capture).test.ts, $(capture).test.tsx",
"*.tsx": "$(capture).test.ts, $(capture).test.tsx",
"*.env": "$(capture).env.*",
"package.json": "pnpm-lock.yaml,yarn.lock,LICENSE,README*,CHANGELOG*,CNAME,.gitattributes,.eslintrc-auto-import.json,.gitignore,prettier.config.js,stylelint.config.js,commitlint.config.js,.stylelintignore,.prettierignore,.gitpod.yml,.eslintrc.js,.eslintignore"
"package.json": "pnpm-lock.yaml,yarn.lock,LICENSE,README*,CHANGELOG*,CNAME,.gitattributes,.eslintrc-auto-import.json,.gitignore,prettier.config.js,stylelint.config.js,commitlint.config.js,.stylelintignore,.prettierignore,.gitpod.yml,.eslintrc.cjs,.eslintignore"
},
"terminal.integrated.scrollback": 10000,
"nuxt.isNuxtApp": false

View File

@ -4,6 +4,7 @@
"description": "基于vue3、vite4、element-plus、typesScript",
"author": "xingyu",
"private": false,
"type": "module",
"scripts": {
"i": "pnpm install",
"dev": "vite --mode env.local",

View File

@ -1,4 +1,4 @@
module.exports = {
export default {
plugins: {
autoprefixer: {}
}