Skip to content

Commit 312f6a1

Browse files
author
Morley Tatro
authored
Update README.md
various typos
1 parent 1e56ccf commit 312f6a1

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

README.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Yep that's right. The universal family is now fully Webpack 4. Thank you to all
3434

3535
So... why did we rebuild `extract-css-chunks`? What does it offer?
3636

37-
Its got all the goodness of `mini-css-extract-plugin` but with 2 gleaming, sought after benefits.
37+
It's got all the goodness of `mini-css-extract-plugin` but with 2 gleaming, sought after benefits.
3838

3939
Compared to the existing loaders, we are offering a single solution as opposed to needing to depend on multiple loaders to cater for different features:
4040

@@ -57,11 +57,11 @@ The functionality is still available to you via chunk flushing, and it can come
5757

5858
## Webpack 4 Standalone Installation:
5959

60-
If you are just looking for something that works like `mini-css-extract-plugin` but with HMR. Then look no further
60+
If you are just looking for something that works like `mini-css-extract-plugin` but with HMR, then look no further.
6161

6262
NOTE: We have aligned out loader implementation to be the same as `mini-css-extract-plugin`
6363

64-
**If you already use `mini-css-extract-plugin`, then you can just change the `require` statement - its that easy**
64+
**If you already use `mini-css-extract-plugin`, then you can just change the `require` statement - it's that easy**
6565

6666

6767
**DONT USE THIS INSTALL CMD IF YOU ARE BETA TESTING:**
@@ -92,7 +92,7 @@ module.exports = {
9292
// both options are optional
9393
filename: "[name].css",
9494
chunkFilename: "[id].css",
95-
hot: true // optional is the plguin cannot automatically detect if you are using HOT, not for production use
95+
hot: true // optional as the plugin cannot automatically detect if you are using HOT, not for production use
9696
}
9797
),
9898
]
@@ -101,7 +101,7 @@ module.exports = {
101101

102102
*webpack.server.config.js*
103103

104-
The server needs to be handeled differently, we still want one chunks. Luckily webpack 4 supports **LimitChunkCountPlugin**
104+
The server needs to be handled differently, we still want one chunk. Luckily webpack 4 supports **LimitChunkCountPlugin**
105105

106106
```js
107107
new webpack.optimize.LimitChunkCountPlugin({
@@ -115,7 +115,7 @@ This is a breaking change. The entire loader has been fundamentally rewritten sp
115115

116116
There have been some challenges along the way since the release of webpack 4. Ultimately the only remaining hurdle is code split, async style loading.
117117

118-
If you do need Webpack 3, make sure to stick with the latest `v2.x.x` release. `v3.x.x` is only intend for users with Webpack 4
118+
If you do need Webpack 3, make sure to stick with the latest `v2.x.x` release. `v3.x.x` is only intended for users with Webpack 4
119119

120120

121121

@@ -138,7 +138,7 @@ yarn add --dev extract-css-chunks-webpack-plugin babel-plugin-universal-import
138138
"plugins": ["universal-import"]
139139
}
140140
```
141-
The main thing is you need to cater for the new chunking system of webpack!
141+
The main thing is you need to cater to the new chunking system of webpack!
142142
With **webpack.optimize.CommonsChunkPlugin** plugin no longer part of Webpack 4, we need another way to define the code-splitting. Luckily we have `optimization` configs built into webpack now
143143

144144
*webpack.config.js:*
@@ -194,7 +194,7 @@ module.exports = {
194194
}
195195
},
196196
plugins: [
197-
new ExtractCssChunks({hot:true}), //if you want HMR - we try to automatically inject hot reloading but if its not working, add it to the config
197+
new ExtractCssChunks({hot:true}), //if you want HMR - we try to automatically inject hot reloading but if it's not working, add it to the config
198198
]
199199
};
200200
```

0 commit comments

Comments
 (0)