Импорт / Экспорт · BuckleScript
2019-6-27 · Импорт / Экспорт. Export. BuckleScript allows compiling to: CommonJS (require('myFile')) ES6 modules (import * from 'myFile') The output format is configurable in bsb, described in a later section. By default, every let binding is exported. If their values are safe to use on the JS side, you can directly require the generated JS ...