This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

babel-preset-scc

0.1.1 • Public • Published

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.

/babel-preset-scc/

    Package Sidebar

    Install

    npm i babel-preset-scc

    Weekly Downloads

    1

    Version

    0.1.1

    License

    MIT

    Unpacked Size

    4.94 kB

    Total Files

    4

    Last publish

    Collaborators

    • borisding1994