0.1.1 • Published 5 years ago

@rock-kit/ui-babel-preset v0.1.1

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

category: packages

ui-babel-preset

npm  build-status  MIT License  Code of Conduct

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
  }]]
}