Skip to content

Commit e511e3a

Browse files
committed
Update README.md
1 parent 7fbebd0 commit e511e3a

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,20 @@ minimized by running `webpack --optimize-minimize`
8686
data-src=data:image/png;base64,...>'
8787
```
8888

89+
or specify the `minimize` query in your `webpack.conf.js`
90+
91+
```js
92+
module: {
93+
loaders: [{
94+
test: /\.html$/,
95+
loader: 'html',
96+
query: {
97+
minimize: true
98+
}
99+
}]
100+
}
101+
```
102+
89103
### 'Root-relative' URLs
90104

91105
For urls that start with a `/`, the default behavior is to not translate them.

0 commit comments

Comments
 (0)