preactjs / preset-vite

Preset for using Preact with the vite bundler
https://npm.im/@preact/preset-vite
MIT License
262 stars 26 forks source link

refactor: Determine prerender script through script attr, rather than lexer #97

Closed rschristian closed 10 months ago

rschristian commented 10 months ago

I think we can sneak this into a patch, reduces install size by ~1/4 and is just as usable really.

Only just thought of it sadly

Find @lukewarlow, you get some credit for leading me down that trail of throught.