# handle-allcss-loader

> a webpack loader for handling all css loaders

Latest version **0.0.5** (published 2017-07-02) · MIT license · 0 weekly downloads

## Install

```sh
npm install handle-allcss-loader
pnpm add handle-allcss-loader
yarn add handle-allcss-loader
bun add handle-allcss-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.0.5 |
| Published | 2017-07-02 |
| First published | 2017-06-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | trigkit4 |
| Maintainers | trigkit4 |
| Keywords | cssloaders |

## Links

- npm: https://www.npmjs.com/package/handle-allcss-loader
- Repository: https://github.com/hawx1993/handleCssLoader
- Homepage: https://github.com/hawx1993/handleCssLoader#readme
- Issues: https://github.com/hawx1993/handleCssLoader/issues
- npm.io page: https://npm.io/package/handle-allcss-loader

## Recent versions

- 0.0.5 (latest) — 2017-07-02
- 0.0.4 — 2017-07-02
- 0.0.3 — 2017-07-02
- 0.0.2 — 2017-06-24

## README

## Get started


## Install

```bash
$ npm install handle-allcss-loader -D
```

## Usage
```javascript
const HandleAllCSSLoader = require('handle-allcss-loader')
const ExtractTextPlugin = require('extract-text-webpack-plugin')

const isProd = process.env.NODE_ENV === 'production'

const handleLoader = new HandleAllCSSLoader({
  minimize: isProd,
  extract: isProd,
  sourceMap: false,
  cssModules: false
})

module.exports = {
  module: {
    rules: [
      // Handle .css files with css-loader & postcss-loader
      handleLoader.css(),
      // Handle .sass files
      // Similar to above but add sass-loader too
      handleLoader.sass()
    ]
  },
  plugins: [
    new ExtractTextPlugin({
      filename: '[name].[contenthash:8].css',
      disable: !isProd
    })
  ]
}
```

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