Skip to content

Commit 2c81125

Browse files
authored
Merge pull request #639 from yhpark/patch-1
Update code-splitting-css.md
2 parents 4b7c368 + 46f31a9 commit 2c81125

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

content/guides/code-splitting-css.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ webpack can help with this problem by bundling the CSS separately using [extract
1111

1212
## Using `css-loader`
1313

14-
To import css into your JavaScript code like [any other module](concept/modules), you will have to use the [css-loader](https://github.com/webpack/css-loader)
14+
To import css into your JavaScript code like [any other module](/concepts/modules), you will have to use the [css-loader](https://github.com/webpack/css-loader).
1515
The webpack config with `css-loader` will look like
1616

1717
```javascript
@@ -55,8 +55,8 @@ loader: ExtractTextPlugin.extract('css-loader?sourceMap') //Can be used without
5555
new ExtractTextPlugin({ filename: 'bundle.css', disable: false, allChunks: true })
5656
```
5757

58-
With above two steps, you can generate a new bundle specifically for all the CSS modules and add them as a separate tag in the `index.html`
59-
For more info on how to use the api please go to [`ExtractTextPlugin` api](https://github.com/webpack/extract-text-webpack-plugin#api).
58+
With above two steps, you can generate a new bundle specifically for all the CSS modules and add them as a separate tag in the `index.html`.
59+
For more information on how to use the api, please go to [`ExtractTextPlugin` api](https://github.com/webpack/extract-text-webpack-plugin#api).
6060

6161
The full config for splitting css with `ExtractTextPlugin` is as follows
6262

0 commit comments

Comments
 (0)