# css-raw-loader

> CSS Raw loader module for Webpack

Latest version **0.1.2** (published 2017-07-13) · MIT license · 0 weekly downloads

## Install

```sh
npm install css-raw-loader
pnpm add css-raw-loader
yarn add css-raw-loader
bun add css-raw-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.2 |
| Published | 2017-07-13 |
| First published | 2015-05-13 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Known vulnerabilities | 0 (+2 in 2 direct dependencies) |
| Install scripts | no |
| GitHub stars | 13 |
| Author | Kiril Vatev @catdad |
| Maintainers | kirilv |

## Links

- npm: https://www.npmjs.com/package/css-raw-loader
- Repository: https://github.com/catdad/css-raw-loader
- Issues: https://github.com/catdad/css-raw-loader/issues
- npm.io page: https://npm.io/package/css-raw-loader

## Dependencies (3)

- [clean-css](https://npm.io/package/clean-css.md) ^3.2.10
- [loader-utils](https://npm.io/package/loader-utils.md) ~0.2.7
- [source-list-map](https://npm.io/package/source-list-map.md) ~0.1.5

## Recent versions

- 0.1.2 (latest) — 2017-07-13
- 1.0.0-alpha.1 (next) — 2017-07-13
- 0.1.1 — 2015-06-27
- 0.1.0 — 2015-05-20
- 0.0.2 — 2015-05-14
- 0.0.1 — 2015-05-13

## README

# CSS Raw loader for Webpack

[![Downloads][1]][2] [![Version][3]][2] [![ISC License][4]][5] 

[1]: https://img.shields.io/npm/dm/css-raw-loader.svg?style=flat
[2]: https://www.npmjs.com/package/css-raw-loader

[3]: https://img.shields.io/npm/v/css-raw-loader.svg

[4]: https://img.shields.io/npm/l/css-raw-loader.svg?style=flat
[5]: http://opensource.org/licenses/MIT

## About

This loader is based on the [original CSS loader](https://github.com/webpack/css-loader) and the [raw loader](https://github.com/webpack/raw-loader). A lot of the credit goes to [@sokra](https://github.com/sokra). I am just enabling my own needs. 

It is intended to allow developers to write CSS and use Webpack without having Webpack resolve imports and image URLs from the CSS code. It will import exactly the CSS code that you wrote. It also plays nice with Less, Sass, and the ExtractTextPlugin. It will automatically produce sourcemaps for dev builds and minify for production builds.

## Installation

```
npm install css-raw-loader
```

## Usage

``` javascript
module: {
    loaders: [
        { test: /\.less$/, loader: 'style-loader!css-raw-loader!less-loader' },
        { test: /\.css$/, loader: 'style-loader!css-raw-loader' }
    ]
}
```

## License

[MIT](http://www.opensource.org/licenses/mit-license.php)

[![Analytics](https://ga-beacon.appspot.com/UA-17159207-7/css-raw-loader/readme)](https://github.com/igrigorik/ga-beacon)

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