-
-
Notifications
You must be signed in to change notification settings - Fork 256
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[vite-plugin-checker] ESLint / Prettier / TypeCheck / Vite Plugins in general #405
Comments
I could add hooks for this, outside vite. Similar to nuxt's build hooks. Been hesitant to do this, since it's a large undertacking lol.
I use prettier, eslint, and Typescript on some projects and don't have any issues, but I don't run them before/during dev or build, which I assume you're doing if you're with But that said, since there aren't any hooks, there isn't an equivalent to that plugin. I'll open a separate issue around adding some basic build hooks. |
Yeah |
Released hooks in |
This is more of a question / feature task. Ideally I would like to utilize ESLint, TypeScript Typechecking and Prettier when developing a browser extension. Using something like
vite-plugin-checker
is what I use in most Vite projects for this task but with how the entry points work it would start said task for each entry point.I also utilize a small helper function to generate the
_locales
folder which downloads strings from my project's API and writes them into the file, I used to have a Vite plugin for that which ran it onbuildStart
which now would be called multiple times but it also didn't work because I think WXT checks if there's a _locales folder before startup.The text was updated successfully, but these errors were encountered: