@labd/babel-preset-react
v0.5.0
Published
Babel preset for LabD projects using React
Downloads
28
Readme
@labd/babel-preset-react
Preset used for transpiling TypeScript code to bundled code compatible with our definition of done.
Usage
Install @labd/babel-preset-react
and add a .babelrc.js
file with the following content to the root of your project:
yarn add --dev @babel/core @labd/babel-preset-react
const presets = [
"@labd/babel-preset-react",
]