We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0698137 commit 015f034Copy full SHA for 015f034
README.md
@@ -13,6 +13,10 @@ css code will be minimized if specified by the module system.
13
Good loaders for requiring your assets are the [file-loader](https://github.com/webpack/file-loader)
14
and the [url-loader](https://github.com/webpack/url-loader) which you should specify in your config (see below).
15
16
+To be combatible to existing css files:
17
+* `url(image.png)` => `require("./image.png")`
18
+* `url(~module/image.png)` => `require("module/image.png")`
19
+
20
### Example config
21
22
This webpack config can load css files, embed small png images as Data Urls and jpg images as files.
0 commit comments