jihchi / plugin-rescript

A Snowpack plugin lets you integrate ReScript build system/compiler with Snowpack

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

@jihchi/plugin-rescript

npm package bundlephobia size npm download per month npm license

This plugin adds ReScript to your Snowpack project.

Install

npm install --save-dev rescript
npm install --save-dev @jihchi/plugin-rescript

Then add @jihchi/plugin-rescript to snowpack.config.js:

or to snowpack.config.js:

module.exports = {
  plugins: [
    [
      '@jihchi/plugin-rescript',
      {
        /* see "Plugin Options" below */
      },
    ],
  ],
};

Once added to the configuration, @jihchi/plugin-rescript will run automatically on snowpack dev and snowpack build.

Plugin Options

Name Type Description
output "stream" or "dashboard" (optional) Set how the output should be recorded during dev.

About

A Snowpack plugin lets you integrate ReScript build system/compiler with Snowpack


Languages

Language:JavaScript 100.0%