jihchi / vitejs-template-react-rescript

Integrating ReScript and rescript-react into the official Vite React template

Home Page:https://vitejs-template-react-rescript.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to use in-source: false

gavr123456789 opened this issue · comments

commented

Hello, Im newbe in rescript, this example is first time I run it.
Thanks, it works great(every electron rescript example failed for me).
But I don't want to have copies of every file in js format.
After I changed the "in-source" setting: false and js started being generated inside lib I started getting a blank page, there are no errors.

Please refer to the document of vite-plugin-rescript (Using Loader section), you could setup a configuration to support "in-source": false setting.