Skip to content
This repository has been archived by the owner on Dec 3, 2018. It is now read-only.

v2.0.0

Compare
Choose a tag to compare
@rrdelaney rrdelaney released this 10 Nov 05:18
· 31 commits to master since this release

[email protected]

This release marks a pretty big change for bs-loader πŸ˜„ There shouldn't be any breaking changes, but we've taken the core out of bs-loader and split it up into a few packages like read-bsconfig and bsb-js, both of which can already be seen in use in projects like rollup-plugin-bucklescript. There will be more about this in the coming weeks, so stay tuned!

This release marks the start of maintenance mode for bs-loader. There will be no future feature development on bs-loader itself, however it's subpackages and projects to replace it like reason-webpack-plugin will continue to be developed and maintained. In the future there may be breaking changes in bs-loader as we remove features like Jest processing.

Instead of bs-loader, consider using bsb' new in-source builds in conjunction with .bs.js extensions:

{
  "package-specs": {
    "module": "commonjs",
    "in-source": true
  },
  "suffix": ".bs.js",
}

This way, you can require BuckleScript js output from the js side with require('./foo.bs').

Changes

  • Adding support for the suffix bsconfig option (#36 @arnarthor)
  • fix aliasing when running inside jest (#38 @pigoz)