Skip to content

Commit 631aded

Browse files
author
Jon Wheeler
committed
Fix Typo in code-splitting-css.md
Replaces `modules.exports` in first webpack.config.js snippet with `module.exports`.
1 parent c4cd21a commit 631aded

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

content/guides/code-splitting-css.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ title: Code Splitting - CSS
33
sort: 3
44
contributors:
55
- pksjce
6+
- jonwheeler
67
---
78

89
In webpack, when you use the css-loader and import CSS into your JavaScript files, the CSS is bundled along with your JavaScript.
@@ -17,7 +18,7 @@ The webpack config with `css-loader` will look like
1718
```javascript
1819
//webpack.config.js
1920

20-
modules.exports = function(env){
21+
module.exports = function(env){
2122
entry: '..',
2223
...
2324
module: {

0 commit comments

Comments
 (0)