We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d5de94f commit 711a604Copy full SHA for 711a604
README.md
@@ -69,34 +69,8 @@ module.exports = {
69
}
70
```
71
72
-## Usage
73
-
74
-Add a rule for loading responsive images to your webpack config:
75
76
-```js
77
-module.exports = {
78
- // ...
79
- module: {
80
- rules: [
81
- {
82
- test: /\.(jpe?g|png|webp)$/i,
83
- use: {
84
- loader: 'responsive-loader',
85
- options: {
86
- // If you want to enable sharp support:
87
- adapter: require('responsive-loader/sharp'),
88
- },
89
90
91
- ],
92
93
-}
94
-```
95
96
### Typescript
97
98
99
100
```typescript
101
//declare a module to your type definitions files *.d.ts
102
interface ResponsiveImageOutput {
0 commit comments