This is an experiment for SAM pattern on bucklescript-TEA
- The bucklescript code goes into src/*.ml
- The release folder contains an index.html and rollup bundles your js here in main.js
- 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
npm install
npm run build
npm run watch
- Bucklescript-TEA by OvermindDL1
- Bucklescript-TEA starter kit by Thomas Coopman
- SAM pattern by Jean-Jacques Dubray
- TEA - The Elm Architecture by Evan Czaplicki