LeonWu

Results 2 comments of LeonWu

Please check your first of type module script, vite-ssg will use it as an entry. https://github.com/antfu/vite-ssg/blob/7ef969c0e8e96e0dd4915f8c9aacb006a94e7a9d/src/node/build.ts#L237-L248

You can try changing the configuration file to the following. I used array configuration instead of functions to solve similar problems. ``` module.exports = { "src/**/*.{tsx,ts}": ["eslint --fix", "prettier --write...