# source-maps-loader

> extracts inlined source map and offers it to webpack

Latest version **0.1.9** (published 2016-12-19) · 0 weekly downloads

## Install

```sh
npm install source-maps-loader
pnpm add source-maps-loader
yarn add source-maps-loader
bun add source-maps-loader
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.9 |
| Published | 2016-12-19 |
| First published | 2016-06-20 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=6.0.0 |
| Dependencies | 2 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Tobias Koppers @sokra |
| Maintainers | thechriswalker |

## Links

- npm: https://www.npmjs.com/package/source-maps-loader
- Repository: https://github.com/thechriswalker/source-maps-loader
- Homepage: https://github.com/thechriswalker/source-maps-loader#readme
- Issues: https://github.com/thechriswalker/source-maps-loader/issues
- npm.io page: https://npm.io/package/source-maps-loader

## Dependencies (2)

- [async](https://npm.io/package/async.md) ^1.4.2
- [loader-utils](https://npm.io/package/loader-utils.md) ~0.2.2

## Recent versions

- 0.1.9 (latest) — 2016-12-19
- 0.1.8 — 2016-11-22
- 0.1.7 — 2016-06-20
- 0.1.6 — 2016-06-20

## README

# source maps loader for webpack

> Forked from arielschiavoni/source-map-loader who forked from webpack/source-map-loader.
> I did this purely to publish under a different name (`source-maps-loader` vs `source-map-loader` so I could easily use the fixed functionality.
>
> **No credit for actual code should be given to me, but the original authors.**
>
> I simply removed the babel stuff so this is node 6.x compatible without any transpilation needed.


Extracts SourceMaps for source files that as added as `sourceMappingURL` comment.

## Usage

[Documentation: Using loaders](http://webpack.github.io/docs/using-loaders.html)


### example webpack config

``` javascript
module.exports = {
  module: {
    preLoaders: [
      {
        test: /\.js$/,
        loader: "source-maps-loader"
      }
    ]
  }
};
```

This extracts all SourceMaps from all files. That's not so good performance-wise so you may only want to apply the loader to relevant files.

## License

MIT (http://www.opensource.org/licenses/mit-license.php)

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