Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 765 Bytes

README.md

File metadata and controls

31 lines (21 loc) · 765 Bytes

This is a starter kit for bucklescript with tea. It uses rollup.js to package the javascript and serve to serve the release folder.

Organisation

  • The bucklescript code goes into src/*.ml
  • The release folder contains an index.html and rollup bundles your js here in main.js

Getting started

  • copy or clone this repository
  • change the names in package.json
  • in the rollup.config.js you can also change the name of the output, you also have to change this name in de index.html
  • for consistency, also change the name in bsconfig.json

Install

npm install

Build

npm run build

Watch

npm run watch