babel-plugin-static-glob
TypeScript icon, indicating that this package has built-in type declarations

0.1.2 • Public • Published

babel-plugin-static-glob

Installation

yarn add babel-plugin-static-glob

Usage

__glob('**/*.js').map(x => console.log(x));

will be transpiled into:

[
  './src/index.js',
  './src/App.js',
  './src/component/TestComponent.js',
  './src/page/LoginPage.js',
].map(x => console.log(x));

Glob Patterns & Options

https://github.com/isaacs/node-glob

Readme

Keywords

none

Package Sidebar

Install

npm i babel-plugin-static-glob

Weekly Downloads

0

Version

0.1.2

License

none

Unpacked Size

1.61 kB

Total Files

6

Last publish

Collaborators

  • pjc0247