Skip to content

yocontra/glob-loader

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

webpack loader to load files at once with glob

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%