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