# js.conf.d-webpack

> A simple config loader with folder overrides - Webpack edition

Latest version **2.0.1** (published 2025-03-19) · BSD-3-Clause license · 0 weekly downloads

## Install

```sh
npm install js.conf.d-webpack
pnpm add js.conf.d-webpack
yarn add js.conf.d-webpack
bun add js.conf.d-webpack
```

## Health

**Score 30/100 (F)** — status: maintenance-mode.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: stale; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.1 |
| Published | 2025-03-19 |
| First published | 2019-09-22 |
| Weekly downloads | 0 |
| License | BSD-3-Clause |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 2 |
| Unpacked size | 6.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Anxo Soto |
| Maintainers | mancontr, linuxgunter |
| Keywords | webpack, config, loader, overrides |

## Links

- npm: https://www.npmjs.com/package/js.conf.d-webpack
- Repository: https://github.com/mancontr/js.conf.d-webpack
- Homepage: https://github.com/mancontr/js.conf.d-webpack#readme
- Issues: https://github.com/mancontr/js.conf.d-webpack/issues
- npm.io page: https://npm.io/package/js.conf.d-webpack

## Dependencies (2)

- [js.conf.d](https://npm.io/package/js.conf.d.md) ^2.0.1
- [webpack-virtual-modules](https://npm.io/package/webpack-virtual-modules.md) ^0.6.2

## Alternatives

- [jsforce](https://npm.io/package/jsforce.md) — 851.2K weekly downloads
- [react-native-qrcode-svg](https://npm.io/package/react-native-qrcode-svg.md) — 693.5K weekly downloads
- [@salesforce/plugin-data](https://npm.io/package/@salesforce/plugin-data.md) — 394.9K weekly downloads
- [@backstage/plugin-search-common](https://npm.io/package/@backstage/plugin-search-common.md) — 308.5K weekly downloads
- [@chain-registry/types](https://npm.io/package/@chain-registry/types.md) — 38.4K weekly downloads

## Recent versions

- 2.0.1 (latest) — 2025-03-19
- 2.0.0 — 2025-02-03
- 1.3.1 — 2020-11-20
- 1.3.0 — 2020-10-15
- 1.2.1 — 2020-03-04
- 1.2.0 — 2019-10-06
- 1.1.2 — 2019-09-22
- 1.1.1 — 2019-09-22
- 1.1.0 — 2019-09-22
- 1.0.0 — 2019-09-22

## README

# js.conf.d-webpack

A webpack plugin for configuration management, based on [js.conf.d](https://github.com/mancontr/js.conf.d).

## Usage

To use js.conf.d-webpack, you need to add it to your webpack config:

```js
const JsconfdPlugin = require('js.conf.d-webpack')

const config = {
  // ...
  plugins: [
    // ...
    new JsconfdPlugin({
      folders: ['/etc/my-config', '~/.my-config', './config']
    })
  ]
}
```

Once added, to access the config from your application just do:

```js
import config from '#js.conf.d'
```

The plugin will replace that special path with the aggregated config.

---
_Source: https://npm.io/package/js.conf.d-webpack · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
