2.0.0 • Published 6 years ago

@sucrase/gulp-plugin v2.0.0

Weekly downloads
9
License
MIT
Repository
github
Last release
6 years ago

Sucrase Gulp plugin

npm version MIT License

This is a simple Gulp plugin that makes it easy to tie Sucrase into your build.

Usage

Sucrase is a peer dependency, so you'll need to install it as well:

yarn add --dev @sucrase/gulp-plugin sucrase

In your gulpfile, you can add it like this:

const sucrase = require('@sucrase/gulp-plugin');

...
  .pipe(sucrase({transforms: ['imports', 'jsx']}))
...
2.0.0

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago