babel-preset-sui

3.53.0 • Public • Published

babel-preset-sui

A preset for all babel-transpiled javascript of the SUI family.

It provides:

  • Unified code transformations.
  • Protection on arbitrary use of experimental features that may been deprecated.

Installation

$ npm install babel-preset-sui --save-dev

Presets and plugins

This preset always includes the following plugins and presets:

If react or preact is installed:

Usage

Via package.json (Recommended)

package.json

{
  "name": "my-awesome-package",
  "version": "1.0.0",
  "babel": {
    "presets": ["sui"]
  }
}

Via .babelrc

.babelrc

{
  "presets": ["sui"]
}

Contributing

Please refer to the main repo contributing info.

Versions

Current Tags

Version History

Package Sidebar

Install

npm i babel-preset-sui

Weekly Downloads

3,005

Version

3.53.0

License

MIT

Unpacked Size

4.99 kB

Total Files

4

Last publish

Collaborators

  • schibstedspain