You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@kiwicom/babel-plugin-orbit-components

Package Overview
Dependencies
Maintainers
0
Versions
194
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kiwicom/babel-plugin-orbit-components

A babel plugin for transforming destructured imports to granular ones.

5.2.4
latest
Source
npmnpm
Version published
Weekly downloads
3.7K
3.41%
Maintainers
0
Weekly downloads
 
Created
Source

babel-plugin-orbit-components

Build Status

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

Examples

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

// Output:
import Alert from "@kiwicom/orbit-components/lib/Alert";
// Input
import { Passengers } from "@kiwicom/orbit-components/lib/icons";

// Output
import Passengers from "@kiwicom/orbit-components/lib/icons/Passengers";

License

MIT

Keywords

babel

FAQs

Package last updated on 31 Jul 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts