File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed
Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 1- // Normally `open NodeJs` would be used to shorten the module accessors
2- // this is not done in the example to make it clear where things come from
1+ /*
2+ Normally `open NodeJs` would be used to shorten the module accessors
3+ this is not done in the example to make it clear where things come from.
4+
5+ Note this means compiling the codebase from clean will trigger an error
6+ just rebuild and it'll be fine.
7+ */
38
49let data = "Sample text to write to a file!" -> NodeJs .Buffer .fromString
510let process = NodeJs .Process .process
Original file line number Diff line number Diff line change 22 "name" : " rescript-nodejs" ,
33 "version" : " 14.0.4" ,
44 "scripts" : {
5- "build" : " rescript" ,
5+ "build" : " rescript || rescript " ,
66 "clean" : " rescript clean" ,
77 "start" : " rescript build -w" ,
88 "test" : " rescript && pta 'lib/js/test/atomic/*.test.bs.js'" ,
You can’t perform that action at this time.
0 commit comments