TODO app in ReasonML with React.
yarn
yarn start
# in another tab
yarn webpack
Open the public/index.html
file in your browser to view the application!
Install Python, then run:
cd public
python3 -m http.server 8082
Then you can view the application at localhost:8082
npm run build
npm run webpack:production
This will replace the development artifact build/Index.js
for an optimized version.
To enable dead code elimination, change bsconfig.json
's package-specs
module
from "commonjs"
to "es6"
. Then re-run the above 2 commands. This will allow Webpack to remove unused code.