1st request #1
2
.gitignore
vendored
2
.gitignore
vendored
@@ -14,3 +14,5 @@ hugo.linux
|
|||||||
# End of https://www.gitignore.io/api/hugo
|
# End of https://www.gitignore.io/api/hugo
|
||||||
|
|
||||||
blog/node_modules
|
blog/node_modules
|
||||||
|
|
||||||
|
*.DS_Store*
|
||||||
|
|||||||
@@ -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.)
|
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
|
```javascript
|
||||||
plugins: [
|
plugins: [
|
||||||
new MiniCssExtractPlugin({
|
new MiniCssExtractPlugin({
|
||||||
|
|||||||
Reference in New Issue
Block a user