ReScript plugin with build orchestration server integration #21789
hyperpolymath
started this conversation in
Ideas
Replies: 1 comment
|
Vite is usually blazingly fast, but issues like this often crop up around dependency pre-bundling or rollup configurations.
Let me know if clearing the Vite cache or tweaking the Rollup config gets you past this hurdle. Hope this points you in the right direction! Let me know how it goes. Happy coding! |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi Vite team,
I'm working on a Vite plugin for ReScript called
rescript-vitethat takes a different approach from the existing@jihchi/vite-plugin-rescript:.resto JS.res/.resifiles, and error overlay support via Vite's WebSocket APIThe repo is at hyperpolymath/rescript-vite.
I'd like to understand what it would take for this variant to work well alongside the existing JS/TS tooling in Vite's ecosystem. Specifically:
.res.jsfiles) interacts with Vite's module graph — am I handling HMR correctly by looking up the.res.jscompanion file?Happy to take feedback and adjust the implementation. Thanks for building such a great tool.
All reactions