6.0.0 • Published 5 months ago

@ornikar/babel-preset-kitt-universal v6.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

babel-preset-kitt-universal

Features

This preset is for using kitt-universal with styled-components and linaria, for both web and native with react-native.

Install

npm install --save-dev --save-exact @ornikar/babel-preset-kitt-universal

Usage

Via babel.config.json

{
  "presets": [["@ornikar/babel-preset-kitt-universal", { "isWeb": true }]]
}
{
  "presets": [["@ornikar/babel-preset-kitt-universal", { "isWeb": true, "styledComponentsOptions": { "ssr": false } }]]
}