Socket
Book a DemoInstallSign in
Socket

babel-preset-scc

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-preset-scc

Yet another babel preset for Sequoia Capital China.

0.1.1
latest
Source
npmnpm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

babel-preset-scc

Yet another babel preset.

Options

targets

  • Support a target option "node": "current" to compile for the currently running node version.

  • Support a browsers option like autoprefixer. Use Browserslist.

e.g.

["@babel/preset-scc", {
  "targets": {
    "browsers": ['last 2 versions']
  }
}]

or

["umi", {
  "targets": {
    "node": "8"
  }
}]

disableTransform

boolean, defaults to false`.

react

boolean, defaults to false`.

debug

boolean, defaults to false`.

Outputs the targets/plugins used and the version specified in plugin data version to console.log.

useBuiltIns

"usage" | "entry" | false, defaults to false.

A way to apply @babel/preset-env for polyfills (via @babel/polyfill).

antd

boolean, defaults to false`.

(c) 2018 Sequoia Capital.

FAQs

Package last updated on 26 Mar 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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.