All Projects → seanchas116 → glob-loader

seanchas116 / glob-loader

Licence: MIT License
webpack loader to load files at once with glob

Programming Languages

javascript
184084 projects - #8 most used programming language

glob-loader npm version

webpack loader to load files at once with glob

Build Status

Install

npm install --save-dev glob-loader

Use

  • Create a glob pattern file (example: dir.pattern)
  • Write the pattern of the files that you want to require
  • Require it with glob-loader

dir.pattern file

Pattern is relative to the file directory.

./dir/**/*.js

Require patterns

var modules = require("glob-loader!./dir.pattern");

TODO

  • source map
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].