You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: part1/README.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -300,7 +300,7 @@ Going over the new properties one by one:
300
300
This time, when you run `webpack`, now that you have the `UglifyJsPlugin` this could reduce your
301
301
imaginary 900KB file to 200KB through processes such as removing all the whitespace.
302
302
303
-
You can also add the [OccurenceOrderPlugin](https://webpack.github.io/docs/list-of-plugins.html#occurrenceorderplugin)
303
+
You can also add the [OccurrenceOrderPlugin](https://webpack.github.io/docs/list-of-plugins.html#occurrenceorderplugin)
304
304
305
305
> Assign the module and chunk ids by occurrence count. Ids that are used often get lower (shorter) ids. This makes ids predictable, reduces to total file size and is recommended.
Copy file name to clipboardExpand all lines: part2/README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -168,7 +168,7 @@ module.exports = {
168
168
warnings:false,
169
169
},
170
170
}),
171
-
newwebpack.optimize.OccurenceOrderPlugin(),
171
+
newwebpack.optimize.OccurrenceOrderPlugin(),
172
172
newHtmlWebpackPlugin({
173
173
template:'./src/index.html'
174
174
})
@@ -218,8 +218,8 @@ by an extreme amount.
218
218
219
219
`include` prevents this by specifying that this loader only applies to `.js` files in your `src` directory.
220
220
221
-
Alternatively you could change `include: path.join(__dirname, 'src')` to `exclude: /node_modules/` which will then
222
-
include everything but the `node_modules` folder. More information can be found [here](https://webpack.github.io/docs/configuration.html#module-loaders).
221
+
Alternatively you could change `include: path.join(__dirname, 'src')` to `exclude: /node_modules/` which will then
222
+
include everything but the `node_modules` folder. More information can be found [here](https://webpack.github.io/docs/configuration.html#module-loaders).
0 commit comments