Skip to content

Commit acff181

Browse files
committed
readme
1 parent 1e4deb5 commit acff181

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

README.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,11 @@ To be compatible with existing css files (if not in CSS Module mode):
9090
|**`camelCase`**|`false`|Export Classnames in CamelCase|
9191
|**`importLoaders`**|`0`|Number of loaders applied before CSS loader|
9292

93+
<<<<<<< 1e4deb5d4e7bfc72ec436b518e132276d2bc1590
9394
The following webpack config can load CSS files, embed small PNG/JPG/GIF/SVG images as well as fonts as [Data URLs](https://tools.ietf.org/html/rfc2397) and copy larger files to the output directory.
95+
=======
96+
This webpack config can load CSS files, embed small png images as Data URLs and JPG images as files.
97+
>>>>>>> readme
9498
9599
**webpack.config.js**
96100
```js
@@ -102,11 +106,20 @@ module.exports = {
102106
use: [ 'style-loader', 'css-loader' ]
103107
},
104108
{
109+
<<<<<<< 1e4deb5d4e7bfc72ec436b518e132276d2bc1590
105110
test: /\.(png|jpg|gif|svg|eot|ttf|woff|woff2)$/,
106111
loader: 'url-loader',
107112
options: {
108113
limit: 10000
109114
}
115+
=======
116+
test: /\.png$/,
117+
use: { loader: 'url-loader', options: { limit: 100000 } },
118+
},
119+
{
120+
test: /\.jpg$/,
121+
use: [ 'file-loader' ]
122+
>>>>>>> readme
110123
}
111124
]
112125
}
@@ -394,12 +407,17 @@ By default, the exported JSON keys mirror the class names. If you want to cameli
394407
import { className } from 'file.css';
395408
```
396409

410+
<<<<<<< 1e4deb5d4e7bfc72ec436b518e132276d2bc1590
397411
<h2 align="center">Maintainers</h2>
412+
=======
413+
<h2 align="center">Maintainer</h2>
414+
>>>>>>> readme
398415
399416
<table>
400417
<tbody>
401418
<tr>
402419
<td align="center">
420+
<<<<<<< 1e4deb5d4e7bfc72ec436b518e132276d2bc1590
403421
<img width="150" height="150"
404422
src="https://avatars3.githubusercontent.com/u/166921?v=3&s=150">
405423
</br>
@@ -424,6 +442,13 @@ import { className } from 'file.css';
424442
<a href="https://github.com/TheLarkInn">Sean Larkin</a>
425443
</td>
426444
</tr>
445+
=======
446+
<img width="150" height="150" src="https://github.com/sokra.png?s=150">
447+
<br>
448+
<a href="https://github.com/sokra">Tobias Koppers</a>
449+
</td>
450+
<tr>
451+
>>>>>>> readme
427452
<tbody>
428453
</table>
429454

0 commit comments

Comments
 (0)