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
babel.config.json
Via {
"presets": [["@ornikar/babel-preset-kitt-universal", { "isWeb": true }]]
}
{
"presets": [["@ornikar/babel-preset-kitt-universal", { "isWeb": true, "styledComponentsOptions": { "ssr": false } }]]
}