@comparaonline/ui-tsconfig

Babel config to support ES6+ and JSX

Usage no npm install needed!

<script type="module">
  import comparaonlineUiTsconfig from 'https://cdn.skypack.dev/@comparaonline/ui-tsconfig';
</script>

README

ui-tsconfig

Install

yarn add --dev @comparaonline/ui-tsconfig

Usage

As tsconfig.extends doesn't support the inclusion of packages, we need to explicitly set the file path in our tsconfig.json file.

{
  "extends": "./node_modules/@comparaonline/ui-tsconfig/react.json"
}