Closed iamrgroot closed 2 years ago
Your eslint config? Cache was false by default.
Your eslint config? Cache was false by default.
Do you turn on ESLint caching?
Do you turn on ESLint caching?
Thanks, this was it. I thought I already tried it, but apparently not...
I can't publish my full repository, but using v1.5.0 or newer results in a significant increase in build times. I can't use v1.4.0 because I'm using eslint v8.
(I'm using npm ci to make sure the caches from Vite are cleared)
npm i -D vite-plugin-eslint@~1.5 && npm ci && time npm run build
With v1.3.0 is was:
npm i -D vite-plugin-eslint@~1.3 && npm ci && time npm run build
Full package.json
``` { "private": true, "name": "dummy", "version": "1.0.0", "scripts": { "vite": "vite", "build": "vite build", "dev": "vite build --mode=development", "watch": "vite build --mode=development --watch", }, "dependencies": { "date-fns": "^2.25.0", "lodash": "^4.17.21", "roboto-fontface": "*", "tiny-cookie": "^2.3.2", "v-mask": "^2.3.0", "vee-validate": "^3.4.13", "vue": "^2.6.14", "vue-i18n": "^8.27.0", "vue-i18n-composable": "^0.2.2", "vue-router": "^3.5.2", "vuetify": "^2.6.2" }, "devDependencies": { "@mdi/font": "^6.6.96", "@typescript-eslint/eslint-plugin": "^5.21.0", "@typescript-eslint/parser": "^5.21.0", "@vue/compiler-sfc": "^3.2.33", "@vue/composition-api": "^1.6.0", "@vue/eslint-config-typescript": "^10.0.0", "axios": "^0.27.2", "eslint": "^8.14.0", "eslint-plugin-putout": "^15.1.1", "eslint-plugin-vue": "^8.7.1", "esno": "^0.14.1", "kolorist": "^1.5.1", "putout": "^25.15.1", "rollup-plugin-gzip": "^3.0.1", "sass": "~1.32", "typescript": "^4.6.3", "unplugin-vue-components": "^0.19.3", "unplugin-vue2-script-setup": "^0.10.2", "vite": "^2.9.6", "vite-plugin-eslint": "~1.3", "vite-plugin-pwa": "^0.12.0", "vite-plugin-vue2": "^2.0.0", "vue-eslint-parser": "^8.3.0" } } ```