# @lab009/glob-loader

> webpack loader to load files at once with glob

Latest version **1.0.0** (published 2017-01-20) · MIT license · 0 weekly downloads

## Install

```sh
npm install @lab009/glob-loader
pnpm add @lab009/glob-loader
yarn add @lab009/glob-loader
bun add @lab009/glob-loader
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2017-01-20 |
| First published | 2017-01-20 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Maintainers | lab009 |
| Keywords | webpack, loader, glob |

## Links

- npm: https://www.npmjs.com/package/@lab009/glob-loader
- Repository: https://github.com/lab009/glob-loader
- Homepage: https://github.com/lab009/glob-loader#readme
- Issues: https://github.com/lab009/glob-loader/issues
- npm.io page: https://npm.io/package/@lab009/glob-loader

## Alternatives

- [raw-loader](https://npm.io/package/raw-loader.md) — 4.3M weekly downloads
- [plop](https://npm.io/package/plop.md) — 1.4M weekly downloads
- [webpack-deadcode-plugin](https://npm.io/package/webpack-deadcode-plugin.md) — 80.3K weekly downloads
- [@storybook/preact-vite](https://npm.io/package/@storybook/preact-vite.md) — 54.2K weekly downloads
- [vite-plugin-transform](https://npm.io/package/vite-plugin-transform.md) — 2.4K weekly downloads

## Recent versions

- 1.0.0 (latest) — 2017-01-20

## README

# @lab009/glob-loader

Forked from [seanchas116/glob-loader](https://github.com/seanchas116/glob-loader), changed:
 - use fileName for object key

webpack loader to load files at once with glob

## Install

```
npm install --save-dev @lab009/glob-loader
```

## Repository

https://github.com/lab009/glob-loader.git

## 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

```js
var modules = require("glob-loader!./dir.pattern");
```

## TODO

* source map

---
_Source: https://npm.io/package/@lab009/glob-loader · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
