Skip to content

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

Notifications You must be signed in to change notification settings

jihchi/plugin-rescript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@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

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published