Skip to content

Commit 09a964c

Browse files
authored
docs: update readme
1 parent 27b45df commit 09a964c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ If you read only the specific extensions (e.g. wasm), please add loader in `webp
3535

3636
```js
3737
module: {
38-
loaders: [
38+
rules: [
3939
{
4040
test: /\.png$/,
4141
loaders: ['arraybuffer-loader'],
@@ -58,7 +58,7 @@ Webpack 4 or later has embedded WASM parser. So, please set `type: 'javascript/a
5858

5959
```js
6060
module: {
61-
loaders: [
61+
rules: [
6262
{
6363
test: /\.wasm$/,
6464
type: 'javascript/auto',

0 commit comments

Comments
 (0)