Build caching #187
wmertens
started this conversation in
Proposals For Qwik
Replies: 1 comment
-
Thanks @wmertens |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What is it about?
make the optimizer cache build results
What's the motivation for this proposal?
Problems you are trying to solve:
While the optimizer is fast, not running it is even faster.
Proposed Solution / Feature
What do you propose?
In the transform phase of the plugin, we could hash the code+transform options and then check a cache under
node_modules/.qwik
. This is especially nice in dev mode.I'm not sure what vite or rollup already offer to assist with this.
We must also make sure the plugin can still work without filesystem access.
Links / References
vitejs/vite#12943
Beta Was this translation helpful? Give feedback.
All reactions