@comparaonline/ui-config-babel

0.27.1 • Public • Published

UI configuration for babel

Extensible Babel configuration for ES6+ and TypeScript

ES6+ and JSX

It uses Babel 7 and enables the transpilation of ES6+ (including object-rest-spread and class-properties) and JSX code.

Usage

In your .babelrc.js

module.exports = require('@comparaonline/ui-config-babel');

TypeScript

Usage

module.exports = require('@comparaonline/ui-config-babel/typescript');

If you need support .jsx files, update your tsconfig.json to set "jsx" to "react".

Readme

Keywords

none

Package Sidebar

Install

npm i @comparaonline/ui-config-babel

Weekly Downloads

7

Version

0.27.1

License

MIT

Unpacked Size

2.3 kB

Total Files

4

Last publish

Collaborators

  • gnavarro
  • dsuarez_compa
  • pfariaz
  • ricardo.sosa
  • suarezcumare
  • fverag
  • comparaonline-dev
  • comparaonlineprivate
  • matotias
  • javierlara1989
  • smurua
  • eseceve
  • pablocompara