-
-
Notifications
You must be signed in to change notification settings - Fork 37
Add paraglide lib stuff to eslint and prettier ignore files #308
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
Comments
I feel like the better solution would be to change |
Just tried that out, that does not work as far as I'm aware of. The other problem is that changing Same goes for stuff as |
Paraglide should ideally implement a virtual module for translation files and utilize Vite's APIs to trigger HMR when needed, rather than writing files directly to the watched directory . That would remove the need for those files to be written to the filesystem entirely, which will improve build and dev performance too. Sidenote: During my experience with webpack, I learned that the edit: (I just realized after writing this that I can probably configure the |
@jackvanderbilt-visma Would you mind explaining why you closed the issue? I personally do think that this is still relevant |
Thinking on this a little more, this is actually related to #334 and #335 given that the |
I don't think the linked comment will solve this, as we are not even adding |
that's because the |
Ohhh, that makes sense. Yeah, that's the paraglide output that's generating that. Reopening for that fix. |
Agree with the Vite plugin suggestion. I'll file an issue in the paraglide repo about that Just FYI, |
My apologies! I was closing issues on this account because in the future I will no longer have access to it. This one was the only one I planned not to close as it was still relevant and useful to myself too. |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
For context: That's why Paraglide JS compiles into Implementing the vite virtual module makes sense. opral/inlang-paraglide-js#264 |
Describe the problem
When I setup a new project I have to manually add
src/lib/paraglide
to theeslintignore
andprettierignore
configs.When making github CI/CD workflows, its annoying to have to do myself, when the CLI could've done this for me.
Describe the proposed solution
Please add them for me automatically.
Importance
nice to have
The text was updated successfully, but these errors were encountered: