Skip to content

Commit afe27be

Browse files
stephenyuTheLarkInn
authored andcommitted
Updated Concepts Index (#509)
Added module.exports line to Loader Example
1 parent e5f0fa8 commit afe27be

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

content/concepts/index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,8 @@ const config = {
8686
]
8787
}
8888
};
89+
90+
module.exports = config;
8991
```
9092

9193
In the configuration above we have defined a `rules` property for a single module with two required properties: `test`, and `use`. This tells webpack's compiler the following:

0 commit comments

Comments
 (0)