WIP
- Use esm in both client side & server side
- Use preact via
--experimental-loader=./loader.js
entries/client.tsx
bundle app for the browserentries/server.ts
bundle the app that can be used in serverserver.js
to start the app in server
npm run build
to build dist
npm run dev:server
to start the app in server