Closed aklinker1 closed 1 year ago
If we can hook into rollup's cache from vite, we could really speed up subsequent builds. I have a couple medium sized extensions, and this plugin gets really slow when building tons of different, large entrypoints.
https://rollupjs.org/guide/en/#cache
Haven't had any luck accessing and shared the rollup cache between builds. But, most of the build time is the transform step, which can be cached.
transform
I can't figure out how to use rollup's cache.
If we can hook into rollup's cache from vite, we could really speed up subsequent builds. I have a couple medium sized extensions, and this plugin gets really slow when building tons of different, large entrypoints.
https://rollupjs.org/guide/en/#cache