babel-plugin-orbit-components

1.0.0 • Public • Published

babel-plugin-orbit-components

Build Status codecov styled with prettier npm (scoped)

Transforms destructured imports of @kiwicom/orbit-components to granular ones!

Setup

Install:

  • yarn add -D @kiwicom/babel-plugin-orbit-components

Then just add @kiwicom/orbit-components to the list of babel plugins, e.g. to .babelrc:

{
  "plugins": ["@kiwicom/orbit-components"]
}

Example

// Input:
import { Alert } from "@kiwicom/orbit-components";

// Output:
import Alert from "@kiwicom/orbit-components/lib/Alert";

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i babel-plugin-orbit-components

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

3.15 kB

Total Files

3

Last publish

Collaborators

  • oreqizer