Skip to content
This repository was archived by the owner on Apr 20, 2021. It is now read-only.

Commit 6d51b31

Browse files
gavinorlandemilgoldsmith
authored andcommitted
Fix "modules" plural to singular (#46)
1 parent 7a20fcb commit 6d51b31

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ This package currently only aims at supporting Webpack 2+.
3737

3838
If you are for example using [Styled Components](https://www.styled-components.com/) you could simply add the following to your webpack config:
3939
```js
40-
modules: {
40+
module: {
4141
rules: [
4242
{
4343
test: /\.jsx?/,
@@ -53,7 +53,7 @@ And you should now have linting your Styled Components css integrated with Webpa
5353
#### Webpack Babel Example
5454

5555
```js
56-
modules: {
56+
module: {
5757
rules: [
5858
{
5959
test: /\.jsx?/,
@@ -72,7 +72,7 @@ modules: {
7272
### configPath
7373
Give the path to a non-default named Stylelint config. The recommended way to specify it is in your Webpack config as follows:
7474
```js
75-
modules: {
75+
module: {
7676
rules: [
7777
{
7878
test: /\.jsx?/,

0 commit comments

Comments
 (0)