📄️ Overview
BuckleScript comes with a build system, bsb, that's meant to be fast, lean and used as the build system of the BuckleScript/Reason community.
📄️ Configuration
bsconfig.json is the single, mandatory build meta file needed for bsb.
📄️ Automatic Interface Generation
"Interface files" (.mli, .rei files) are the "public description" of their corresponding "implementation files" (.ml, .re), exposed as documentation, and containing nothing but type declarations. Since a file is a module, an interface file is essentially a module signature.
📄️ Interop with Other Build System
If you come from JS, chances are that you already have a build system in your existing project. Here's an overview of the role bsb would play in your build pipeline, if you want to introduce some BS code into the codebase.
📄️ Performance
BuckleScript considers performance at install time, build time and run time as a serious feature. Here are some more info, and tips on keeping the build fast. Feel free to skip this section if you're just starting out.
📄️ Advanced
Customize Rules (Generators Support)