An Opinionated Starter for Reaml which includes some packages I frequently use:
- Preact, a lighter, faster replacement for React.
- TypeScript, for when you need to write typesafe code to interop with.
- TailwindCSS, a utility-first CSS framework.
- Relude, a more powerful standard library for BuckleScript.
- PurgeCSS, to remove unused TailwindCSS classes.
The total size of the generated HTML + JS + CSS of this app is 8kB gzipped.
$ cat dist/* | gzip | wc -c
7948
$ yarn install
This will start bsb
, parcel
, tsc
in watch mode:
$ yarn start
This will build HTML/JS/CSS files into dist/
:
$ yarn build
MIT