Socket
Socket
Sign inDemoInstall

bs-loader

Package Overview
Dependencies
7
Maintainers
2
Versions
51
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.0 to 2.0.1

2

index.js

@@ -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`.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc