@dawnjs/babel-preset-dawn
TypeScript icon, indicating that this package has built-in type declarations

2.2.1 • Public • Published

@dawnjs/babel-preset-dawn

npm npm

Usage

In .babelrc :

{
  "presets": [
    [
      "@dawnjs/babel-preset-dawn",
      {
        "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

Readme

Keywords

Package Sidebar

Install

npm i @dawnjs/babel-preset-dawn

Homepage

dawnjs.com

Weekly Downloads

3

Version

2.2.1

License

MIT

Unpacked Size

6.83 kB

Total Files

5

Last publish

Collaborators

  • djknight
  • jeason
  • soulwu
  • ssbabysong