1.8.2 • Published 4 years ago
babel-plugin-authkit v1.8.2
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"]
}