uwu / shelter

an attempt to prepare for the worst
https://shelter.uwu.network/
Creative Commons Zero v1.0 Universal
365 stars 12 forks source link

feat(lune): add optional farm build to lune #33

Open twnlink opened 3 months ago

twnlink commented 3 months ago

This pull request introduces optional Farm support for Vite / Rollup plugin compatibility.

Building with Farm is currently reliant on esbuild for the final build step unfortunately due to the way vite-plugin-solid works.

Farm support does not include SCSS out of the box due to being unable to get the official Farm Rust plugin working, but it should be doable via a Vite / Rollup plugin.

Ideally we could eventually resolve both of these issues and remove the dependency on esbuild, which should theoretically make plugin building faster.