As speed is one of the goals of Elfin, the Tailwind JIT compiler is of great interest to us.
Unfortunately, it’s not stable or tracked by semver yet, so it’s not available in the main
branch of Elfin.
If you’d like to play around with Elfin’s Tailwind JIT implementation, check out the tailwind-jit
branch.
npm run build
- Builds the entire site into the dist
directorynpm run deploy
- Run a production build (use this when deploying).npm run dev
- Builds, watches, and serves the site at https://localhost:900Because there are essentially two “builds” that happen here (11ty and Webpack) there is a bit of file shuffling that goes on.
If a directory or file is in .gitignore
then it is probably part of that shuffling, and you should leave it alone. i.e. content/_build/
, etc.