babel-preset-oriflame
TypeScript icon, indicating that this package has built-in type declarations

4.1.16-alpha.84 • Public • Published

Babel-preset-oriflame

Installation

npm install --save-dev babel-preset-oriflame @babel/core
yarn add --dev babel-preset-oriflame @babel/core

Usage

babelrc

{
  "presets": [
    ["oriflame",
      {
        "react": true
      }
    ]
  ]
}

Options

  • react boolean
    • Enable react preset
  • modules boolean
    • Enables modules transpilation
  • library boolean
    • Enables optimizations for library
  • graphql boolean
    • Add support for graphql
  • removePropTypes boolean
    • Removes prop types from source code
  • targets Record<string, string> | string[] | string
  • srcFolder string
    • Change default source folder
    • default: src
  • env object

Package Sidebar

Install

npm i babel-preset-oriflame

Weekly Downloads

0

Version

4.1.16-alpha.84

License

MIT

Unpacked Size

13.3 kB

Total Files

7

Last publish

Collaborators

  • silhan.jan