Improve vite.config.ts #207
Replies: 3 comments 3 replies
-
That code is there because the vite config is very configurable and not everyone wants the same things |
Beta Was this translation helpful? Give feedback.
-
Hey @wmertens |
Beta Was this translation helpful? Give feedback.
-
To keep it flexible it could be integrated into As @maiieul mentions, if it leads to bugs with qwik when you mistakenly do it, then it seems more like a needed configuration than an optional one. To be validated of course and/or scoped to qwik dependencies only. Maybe it's out of topic but what about enforcing dependencies are dev dependencies? I've seen people asking for help about this many times and the answer was "just move it as a devDependency". |
Beta Was this translation helpful? Give feedback.
-
What is it about?
Improve vite.config.ts
What's the motivation for this proposal?
Problems you are trying to solve:
Now the vite.config.ts has those lines that we can move into
qwikVite
pluginGoals you are trying to achieve:
qwikVite
Any other context or information you want to share:
Proposed Solution / Feature
What do you propose?
Refactor those lines and move into qwikVite plugin
Links / References
No response
Beta Was this translation helpful? Give feedback.
All reactions