babel-preset-haiyan

0.1.1 • Public • Published

babel-preset-haiyan

Usage

yarn add -D babel-preset-haiyan

.babelrc :

{
  "presets": [
    [
      "babel-preset-haiyan",
      {
        "typescript": true,
        "react": {
          "development": true
        }
      }
    ]
  ]
}

Options

Name Type Description
typescript boolean Whether support typescript or not
env object Options pass to @babel/preset-env
react boolean | object Whether support react or not. If pass object, it's options pass to @babel/preset-react
reactRequire boolean Whether include babel-plugin-react-require or not
transformRuntime object Options pass to @babel/plugin-transform-runtime, disabled if not set it

More links

Readme

Keywords

Package Sidebar

Install

npm i babel-preset-haiyan

Weekly Downloads

1

Version

0.1.1

License

MIT

Unpacked Size

7.86 kB

Total Files

4

Last publish

Collaborators

  • shenbao