A Babel configuration for compiling libraries with TypeScript support out of the box.
-
Install the dependency in your package.
yarn add -D @straw-hat/babel-preset-base
-
Add the
@straw-hat/base
to your presets in your Babel configuration file.{ "presets": ["@straw-hat/base"] }