Skip to content

Latest commit

 

History

History
49 lines (35 loc) · 798 Bytes

README.md

File metadata and controls

49 lines (35 loc) · 798 Bytes

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

How to use

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

Deployment

Netlify:

  • Add your project to netlify
  • Define following build task: npm run netlify
  • Define build/as your output folder