github melange-re/melange 0.3.0

latest releases: 4.0.1-52, 4.0.0-52, 4.0.0-51...
2 years ago

CHANGES:

  • [melange] Introduce 2 explicit modes of JavaScript compilation:
    • "Batch compilation": produces .cmj and .js files at the same time (this
      is the previous behavior -- using --bs-package-output MODULE_SYSTEM:REL_PATH:JS_EXTENSION)
    • "Separate emission": produces only .cmj files with --bs-stop-after-cmj --bs-package-output REL_PATH_ONLY, and allows emitting JavaScript files
      separately, with --bs-module-type MODULE_SYSTEM -o TARGET_FILE.JS_EXTENSION
      (#384)
  • [mel]: Fix mel build --watch exiting after the first change
    (#401)
  • [melange]: Remove dependency on reason. Reason syntax users should install reason from their preferred package manager instead, and Melange / Dune will
    find it in $PATH (#409)
  • [melange]: Remove dependency on napkin (the ReScript syntax parser). Users
    that depend on libraries written in ReScript syntax should install the mel
    package and Melange / Dune will find the rescript_syntax binary in $PATH
    (#411)

Don't miss a new melange release

NewReleases is sending notifications on new releases.