0.1.1 • Published 5 years ago
@rock-kit/ui-babel-preset v0.1.1
category: packages
ui-babel-preset
A UI component library made by Rock Content.
Installation
yarn add @rock-kit/ui-babel-preset
Usage
In your .babelrc file:
{
"presets": ["@rock-kit/ui-babel-preset"]
}
To pass in more options, you can make your own preset:
/* babelrc.js */
module.exports = {
presets: [[ require('@rock-kit/ui-babel-preset'), {
coverage: true,
esModules: true,
removeConsole: false,
transformImports: false
}]]
}