- HMR and JSX Runtime are already enabled.
- Run
pnpm dev
in a tab, then runpnpm dev:start
in another to start the dev server. - You have to restart the process when you change your tsconfig.json...
- If you import files that don't have exports, for example, polyfills, make sure to add them to the sideEffects array in package.json.
- This is just something I made for fun, please don't use in production. You should go for something like a framework like Next.js, Remix or a build tool like Vite instead.