@ryyppy/antwar-default Project
This is an opinionated antwar boilerplate.
Some highlights on the configuration:
- Manual route mapping w/ Reason (no directory / filename magic)
- Tailwind
- PostCSS
- Reason & ReasonReact
- MDX
- Webpack
- HtmlWebpackPlugin
- Netlify setup script
Install Project dependencies:
npm install
BuckleScript related tasks:
# Build Reason sources
npm run bs:build
# Run in watch mode
npm run bs:watch
Antwar related tasks:
# Start server for development
npm start
# Build the website in production mode
npm run build
Netlify:
- Add your project to netlify
- Define following build task:
npm run netlify
- Define
build/
as your output folder