0.2.2 • Published 2 years ago

babel-plugin-wildcard-import v0.2.2

Weekly downloads
5
License
MIT
Repository
github
Last release
2 years ago

babel-plugin-wildcard-import

Babel plugin to import multiple files using wildcard syntax.

Installation

npm

npm install --save-dev babel-plugin-wildcard-import

yarn

yarn add --dev babel-plugin-wildcard-import

Usage

In your babel configuration file, just add the package name into your plugins array.

{
    plugins: [
        'babel-plugin-wildcard-import'
    ]
}

or

{
    plugins: [
        'wildcard-import'
    ]
}