You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't use Windows so I don't know what the problem is 🤔
The require function should be resolved in the vite plugin we make, so the problem may be here.
It looks like Vite is not processing the library files because the libRoot variable has Windows file separators in them, but Vite passes file paths to plugins with linux file separators.
Because: libRoot is "C:/Users/.../Projects/eslint-plugin-vue/lib"
but Vite passes this path as the id parameter: "C:\Users\...\Projects\eslint-plugin-vue\lib"
Activity
ota-meshi commentedon Jun 30, 2024
I don't use Windows so I don't know what the problem is 🤔
The
require
function should be resolved in the vite plugin we make, so the problem may be here.eslint-plugin-vue/docs/.vitepress/vite-plugin.mts
Line 23 in d7169e1
ota-meshi commentedon Jun 30, 2024
We don't constantly monitor tsc errors, we just look at them occasionally and fix them.
https://eslint.vuejs.org/developer-guide/#jsdoc-type-checking-with-typescript
Lehoczky commentedon Jun 30, 2024
It looks like Vite is not processing the library files because the
libRoot
variable has Windows file separators in them, but Vite passes file paths to plugins with linux file separators.This will always be true:
Because:
libRoot
is"C:/Users/.../Projects/eslint-plugin-vue/lib"
but Vite passes this path as the
id
parameter:"C:\Users\...\Projects\eslint-plugin-vue\lib"