Open brettz9 opened 1 week ago
While I like the simplicity of having browser ready JS, I don't like vendoring in zod. My leaning would be to just use vite, as we're already depending on it anyway
Sorry, so you mean to include the demo, but for local use only—using Vite instead of Rollup/node-static, and not doing the GitHub Pages-ready bundling at all, right?
I've added #37 . If that meets your needs, I can rebase the other PRs fairly easily on top of it.
Uuh I must’ve missed the gh pages part sorry, will check again (looking at it from my phone atm, so it will be later). But in general I’d also use vite to do a static GitHub pages export
Re: GitHub Pages, there's no special code for it--just by bundling it in vendor
, the main
branch could be configured on GitHub to run the demo web app.
But with your preference for Vite, though I've gotten things going with local use of vite in #37, if you wouldn't mind, I'll leave any static production deployment work to you, as the production configuration looks a little involved, and you might have your own ideas about how to do it anyways.
Happy to take prod deployment over, but it's gonna be a week or so until I have time to look into it
feat: add esm build
Also: