BuckleScript

BuckleScript

  • Docs
  • Try
  • API
  • Community
  • Blog
  • Languages iconEnglish
    • 日本語
    • Español
    • Français
    • 한국어
    • Português (Brasil)
    • Русский
    • 中文
    • 繁體中文
    • Help Translate
  • GitHub

›Recent Posts

Recent Posts

  • A story of exception encoding in BuckleScript
  • What's new in release 7.3
  • Generalized uncurry support in BuckleScript 7.3
  • Announcing bs-platform 7.2
  • Loading stdlib from memory

BuckleScript 1.4.3

October 3, 2017

Besides a number of minor bug fixes, most notable changes

  • ES6 module support, "es6", "es6-global" , "amdjs-global"

"es6" package-spec will generate es6 modules for each ocaml module, "es6-global" will also generate es6 modules but the path does not rely on node module resolution "amdjs-globa" is similar to "es6-global"

The es6 module is in perfect combination with rollup as a bundler, see this link about how good the dead code elimination is https://twitter.com/bobzhang1988/status/827562467148623875

Recent Posts