bs-loader
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -15,3 +15,3 @@ // @flow | ||
const mlFileName = resourcePath.replace(buildDir, '') | ||
const jsFileName = mlFileName.replace(fileNameRegex, '.js') | ||
const jsFileName = mlFileName.replace(fileNameRegex, bsSuffix) | ||
@@ -18,0 +18,0 @@ if (inSource) { |
{ | ||
"name": "bs-loader", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "Bucklescript integration in Webpack", | ||
@@ -11,3 +11,3 @@ "main": "index.js", | ||
"type": "git", | ||
"url": "git+https://github.com/reasonml-community/reason-scripts.git" | ||
"url": "git+https://github.com/reasonml-community/bs-loader.git" | ||
}, | ||
@@ -14,0 +14,0 @@ "files": [ |
# bs-loader [![Build Status](https://travis-ci.org/reasonml-community/bs-loader.svg?branch=master)](https://travis-ci.org/reasonml-community/bs-loader) | ||
> Bucklescript loader for Webpack | ||
--- | ||
**This library is in maintanence mode. Instead of using bs-loader we recommend | ||
using bsb' new in-source builds in conjunction with .bs.js extensions:** | ||
```json | ||
// bcsconfig.json | ||
{ | ||
"package-specs": { | ||
"module": "commonjs", | ||
"in-source": true | ||
}, | ||
"suffix": ".bs.js", | ||
} | ||
``` | ||
--- | ||
This works with both Reason and OCaml files | ||
@@ -174,2 +190,2 @@ | ||
Controls whether `bsb` compile warnings are shown. Defaults to `true`. | ||
Controls whether `bsb` compile warnings are shown. Defaults to `true`. |
8964
191