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

Releases: rrdelaney/bs-loader

v1.5.7

05 Jul 06:57
Compare
Choose a tag to compare

Changes

  • Catch more error cases

v1.5.6

05 Jul 06:36
Compare
Choose a tag to compare

Changes

  • Significant performance improvements. We're about as close to just running bsb -make-world on every change as you can get

v1.5.5

05 Jul 03:31
Compare
Choose a tag to compare

Changes

  • Better error reporting for fatal errors (#16 @cxa)
  • Big speed improvements! bsb is only run once per compilation now!

v1.5.4

04 Jul 17:28
Compare
Choose a tag to compare

Changes

  • Full error messages are given to bs-loader (#15 @quicksnap)
  • Error messages are formatted better!

v1.5.3

28 Jun 01:14
Compare
Choose a tag to compare

Changes

  • No longer need bs-platform installed locally. Will default to using the global installation

v1.5.2

13 Jun 16:33
Compare
Choose a tag to compare

Changes

  • Bug fixes (#12)

v1.5.1

13 Jun 12:17
Compare
Choose a tag to compare

Changes

  • Better error messages for syntax errors in Jest output

The output for syntax error messages when testing with Jest was pretty bad, and didn't even show what the problem was. Now bs-loader will re-throw the bsb error with nice messages extracted!

screen shot 2017-06-13 at 5 09 37 am

v1.5.0

13 Jun 02:40
Compare
Choose a tag to compare

Changes

  • Now includes a transform for Jest!

You can test Reason code with Jest without having to run bsb manually! To test Reason files directly, add a Jest config section to your package.json that looks like this:

  "jest": {
    "moduleFileExtensions": [
      "re",
      "js",
      "ml"
    ],
    "testMatch": [
      "**/src/*_test.re"
    ],
    "transform": {
      ".(re|ml)": "bs-loader"
    }
  }

Currently this only works with BuckleScript compiling to CommonJS.

Example project using bs-loader with Webpack and Jest

v1.4.2

12 Jun 04:44
Compare
Choose a tag to compare

Changes

  • Avoid interrupting by Error: stdout maxBuffer exceeded (#9)

v1.4.1

12 Jun 02:48
Compare
Choose a tag to compare

Changes

  • Update working on error messages