Skip to content

Commit 2c1c44f

Browse files
authored
Merge pull request #36 from mohsenshafiei/dev
Dev
2 parents 6792128 + 439042d commit 2c1c44f

File tree

1 file changed

+19
-9
lines changed

1 file changed

+19
-9
lines changed

README.md

Lines changed: 19 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
11
![GitHub Logo](/public/assets/quark-loader-starfont.png)
22

3-
[![npm][npm]][npm-url]
3+
[![version][version]][version-url]
44
[![node][node]][node-url]
5+
[![travis][travis]][travis-url]
6+
[![downloads][downloads]][downloads-url]
7+
[![MIT LICENSE][mit]][mit-url]
8+
[![semantic-release][semantic-release]][semantic-release-url]
59

6-
##### Loader for `Webpack` to process `CSS` files to minify and compress as much as possible.
10+
11+
##### Loader for `Webpack` to deduplicate, minify and compress `CSS` as much as possible.
712

813
#### Getting Started
914

@@ -15,7 +20,7 @@ npm install --save-dev quark-loader
1520

1621
<h2 align="center">Examples</h2>
1722

18-
Add the plugin to your webpack config.
23+
Add the loader to your webpack config.
1924

2025
**file.js**
2126
```js
@@ -89,8 +94,6 @@ module: {
8994
},
9095
```
9196

92-
chain the
93-
9497
#### How it works
9598

9699
`quark-loader` process the `CSS` files and replaced our style with a reference to our declarations. In this way, we can remove repetitive styles from our CSS and make it minimum.
@@ -114,7 +117,7 @@ chain the
114117
```
115118
**Let's review what we get at the end**
116119

117-
Extracted css file
120+
Extracted CSS file
118121
```CSS
119122
.t7E {
120123
top: 100px;
@@ -142,8 +145,15 @@ exports.locals = {
142145

143146
[Using Quark-Loader to minimize css files](https://medium.com)
144147

145-
146-
[npm]: https://img.shields.io/npm/v/css-loader.svg
147-
[npm-url]: https://npmjs.com/package/css-loader
148148
[node]: https://img.shields.io/node/v/css-loader.svg
149149
[node-url]: https://nodejs.org
150+
[travis]: https://travis-ci.com/mohsenshafiei/quark-loader.svg?branch=master
151+
[travis-url]: https://travis-ci.com/mohsenshafiei/quark-loader.svg?branch=master
152+
[version]: https://img.shields.io/npm/v/quark-loader.svg?style=flat-square
153+
[version-url]: http://npm.im/quark-loader
154+
[downloads]: https://img.shields.io/npm/dm/quark-loader.svg?style=flat-square
155+
[downloads-url]: http://npm-stat.com/charts.html?package=quark-loader&from=2015-08-01
156+
[mit]: https://img.shields.io/npm/l/quark-loader.svg?style=flat-square
157+
[mit-url]: http://opensource.org/licenses/MIT
158+
[semantic-release]: https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=flat-square
159+
[semantic-release-url]: https://github.com/semantic-release/semantic-release

0 commit comments

Comments
 (0)