babel-plugin-authkit
v1.8.2
Published
A plugin that make `import` on demand.
Downloads
4
Readme
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"]
}