Socket
Book a DemoInstallSign in
Socket

@sucrase/gulp-plugin

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sucrase/gulp-plugin

Gulp plugin for Sucrase

latest
Source
npmnpm
Version
2.0.0
Version published
Maintainers
1
Created
Source

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']}))
...

FAQs

Package last updated on 11 Jun 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts