Skip to content

Commit

Permalink
Create README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
retyui committed Jan 25, 2016
1 parent 57944ad commit 752d725
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# group-css-media-queries-loader
Webpack loader : group-css-media-queries

A [group-css-media-queries](https://github.com/Se7enSky/group-css-media-queries) loader for [webpack](https://github.com/webpack/webpack).

[![npm version](https://badge.fury.io/js/group-css-media-queries-loader.svg)](https://badge.fury.io/js/group-css-media-queries-loader)



```js
var css = require('!raw!group-css-media-queries!./file.css'); // Just the CSS
var css = require('!css!group-css-media-queries!./file.css'); // CSS with processed url(...)s
```

See [css-loader](https://github.com/webpack/css-loader) to see the effect of processed `url(...)`s.

Or within the webpack config:

```js
module: {
loaders: [{
test: /\.css$/,
loader: 'css!group-css-media-queries'
}]
}
```

0 comments on commit 752d725

Please sign in to comment.