0.27.1 • Published 5 years ago

@comparaonline/ui-config-babel v0.27.1

Weekly downloads
6
License
MIT
Repository
-
Last release
5 years ago

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".