babel-preset-sxt-engine

2.0.0 • Public • Published

babel-preset-sxt-engine v2.0.0

Collection of Babel presets and plugins for all the development environments

Installation

You'll install babel-preset-sxt-engine:

$ npm install babel-preset-sxt-engine --save-dev

Usage

Add sxt-engine to the plugins section of your .babelrc configuration file. You can omit the babel-preset- prefix:

For Nodejs

{
    "presets": [
        "sxt-engine"
    ]
}

For flowjs

{
    "presets": [
        "sxt-engine/flow"
    ]
}

For React with transform-runtime

{
    "presets": [
        "sxt-engine/react"
    ]
}

For Webpack with React & transform-runtime & enabled the Tree shaking

{
    "presets": [
        "sxt-engine/reactWebpack"
    ]
}

For Webpack & transform-runtime & enabled the Tree shaking

{
    "presets": [
        "sxt-engine/webpack"
    ]
}

License

MIT

Package Sidebar

Install

npm i babel-preset-sxt-engine

Weekly Downloads

2

Version

2.0.0

License

MIT

Unpacked Size

7.66 kB

Total Files

15

Last publish

Collaborators

  • sku146