1.0.0 • Published 4 years ago
@jihchi/plugin-rescript v1.0.0
@jihchi/plugin-rescript
This plugin adds ReScript to your Snowpack project.
Install
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
.