snowpack-plugin-rescript

1.0.1 • Public • Published

snowpack-plugin-rescript

Snowpack plugin for running building whole project through bsb-platform

Installation

npm install snowpack-plugin-rescript -D

After this you should add plugin to snowpack.config.js:

{
  "plugins": ["snowpack-plugin-rescript"]
}

Also you must have bsconfig.json file with in-source option.

Why? Because ReScript team recommend it

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

License

MIT License

Dependencies (2)

Dev Dependencies (1)

Package Sidebar

Install

npm i snowpack-plugin-rescript

Weekly Downloads

1

Version

1.0.1

License

MIT

Unpacked Size

3.37 kB

Total Files

5

Last publish

Collaborators

  • orlov_vo