Updating documentation

This commit is contained in:
2020-05-26 04:48:37 +01:00
parent 427ef405bd
commit 5a75eb3960
2 changed files with 4 additions and 0 deletions

2
.gitignore vendored
View File

@@ -14,3 +14,5 @@ hugo.linux
# End of https://www.gitignore.io/api/hugo
blog/node_modules
*.DS_Store*

View File

@@ -213,6 +213,8 @@ Don't forget to add the `const MiniCssExtractPlugin = reuire("mini-css-extract-p
For the `plugins` object we should configure our `MiniCssExtractPlugin` which will configure how split css files are named (exactly like the `output` object which is for javascript files. CSS is done with a plugin.)
We need to add the `webpack.HashedModuleIdsPlugin` to the plugins since we are using it for the hash for our `js` and `css` files.
```javascript
plugins: [
new MiniCssExtractPlugin({