seanchas116/glob-loader


webpack loader to load files at once with glob

License: MIT

Language: JavaScript


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

Project Statistics

Sourcerank 7
Repository Size 17.6 KB
Stars 12
Forks 11
Watchers 1
Open issues 3
Dependencies 3
Contributors 3
Tags 0
Created
Last updated
Last pushed

Top Contributors See all

Ryohei Ikegami Joscha Feth Sune Simonsen

Packages Referencing this Repo

glob-loader
webpack loader to load files at once with glob
Latest release 0.3.0 - Updated - 12 stars
@ricardo-tobon/glob-loader
webpack loader to load files at once with glob
Latest release 0.4.0 - Published - 12 stars
@rtobon/glob-loader
webpack loader to load files at once with glob
Latest release 0.4.0 - Published - 12 stars
@nas-user/glob-loader
webpack loader to load files at once with glob
Latest release 0.4.0 - Published - 12 stars

Interesting Forks See all

NekR/glob-loader
webpack loader to load files at once with glob
JavaScript - Last pushed - 1 stars
contra/glob-loader
webpack loader to load files at once with glob
JavaScript - Last pushed - 1 stars

Something wrong with this page? Make a suggestion

Last synced: 2017-11-24 23:39:19 UTC

Login to resync this repository