-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
Description
Version
4.0.2
Reproduction link
Steps to reproduce
package.json
{
"name": "myproj",
"version": "0.0.0",
"scripts": {
"dev": "vite",
"build": "vue-tsc --noEmit && vite build",
"serve": "vite preview",
"lint:script": "eslint --ext .ts,vue --ignore-path ../.gitignore --fix .",
"lint:style": "stylelint src/**/.{css,scss,vue} --fix",
"format": "prettier --write ."
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
".{ts,vue}": "eslint --fix",
".{css,scss,vue}": "stylelint --fix",
"": "prettier -write"
},
"dependencies": {
"@coreui/icons-pro": "^2.0.3",
"bootstrap": "^5.1.0",
"vue": "^3.2.2",
"vue-router": "^4.0.11",
"vuex": "^4.0.2"
},
"devDependencies": {
"@types/node": "^16.4.13",
"@typescript-eslint/eslint-plugin": "^4.29.0",
"@typescript-eslint/parser": "^4.29.0",
"@vitejs/plugin-legacy": "^1.5.1",
"@vitejs/plugin-vue": "^1.4.0",
"@vitejs/plugin-vue-jsx": "^1.1.7",
"@vue/compiler-sfc": "^3.2.2",
"@vue/eslint-config-prettier": "^6.0.0",
"@vue/eslint-config-typescript": "^7.0.0",
"eslint": "^7.32.0",
"eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-vue": "^7.15.1",
"husky": "^7.0.1",
"lint-staged": "^11.1.2",
"prettier": "^2.3.2",
"sass": "^1.26.5",
"stylelint": "^13.13.1",
"stylelint-config-recommended": "^5.0.0",
"stylelint-config-standard": "^22.0.0",
"typescript": "^4.3.5",
"vite": "^2.4.4",
"vite-plugin-checker": "^0.3.4",
"vite-plugin-eslint": "^1.3.0",
"vls": "^0.7.4",
"vue-tsc": "^0.2.2"
}
}
What is expected?
no warning at startup.
What is actually happening?
per npm run dev.
Update this package.json to use a subpath pattern like "./*".
(Use node --trace-deprecation ...
to show where the warning was created)
Building out a template vite/vue3/vuex/vure-router setup...