babel-plugin-authkit

1.8.2 • Public • Published

babel-plugin-authkit

A plugin that make import on demand.

See also babel-plugin-lodash.

Example

Converts

import { a, b } from 'authkit';

a(b);

Converts above to:

import _a from 'authkit/src/a';
import _b from 'authkit/src/b';

_a(_b);

Usage

Via .babelrc
{
  "plugins": ["authkit"]
}

/babel-plugin-authkit/

    Package Sidebar

    Install

    npm i babel-plugin-authkit

    Weekly Downloads

    2

    Version

    1.8.2

    License

    ISC

    Unpacked Size

    8.35 kB

    Total Files

    4

    Last publish

    Collaborators

    • rollawaypoint