Skip to content

Commit ceadfd4

Browse files
authored
Merge pull request #1061 from VinayKumarVerma/patch-1
fix typo
2 parents 41919b9 + 21657e7 commit ceadfd4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/concepts/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,11 +91,11 @@ const config = {
9191
module.exports = config;
9292
```
9393

94-
The configuration above has defined a `rules` property for a single module with two required properties: `test`, and `use`. This tells webpack's compiler the following:
94+
The configuration above has defined a `rules` property for a single module with two required properties: `test` and `use`. This tells webpack's compiler the following:
9595

9696
> "Hey webpack compiler, when you come across a path that resolves to a '.js' or '.jsx' file inside of a `require()`/`import` statement, **use** the `babel-loader` to transform it before you add it to the bundle".
9797
98-
W> It is important to remember when defining rules in your webpack config, you are defining them under `module.rules`, and not `rules`. However webpack will yell at you when doing this incorrectly.
98+
W> It is important to remember when defining rules in your webpack config, you are defining them under `module.rules` and not `rules`. However webpack will yell at you when doing this incorrectly.
9999

100100
There are more specific properties to define on loaders that we haven't yet covered.
101101

0 commit comments

Comments
 (0)