Skip to content

Commit a533a46

Browse files
docs(readme): adding extract css chunks to readme
Adding it to the documentation as a alternative extended version of mini css extract. Extract css chunks offers hot module reloading while in development, allowing for good performance on the client and build. As you guys will know, mini css is fast, this brings the benefits of it to development without losing the ability to hot reload.
1 parent e233d0a commit a533a46

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -658,7 +658,9 @@ module.exports = {
658658
### Extract
659659

660660
For production builds it's recommended to extract the CSS from your bundle being able to use parallel loading of CSS/JS resources later on.
661-
This can be achieved by using the [mini-css-extract-plugin](https://github.com/webpack-contrib/mini-css-extract-plugin) to extract the CSS when running in production mode.
661+
- This can be achieved by using the [mini-css-extract-plugin](https://github.com/webpack-contrib/mini-css-extract-plugin) to extract the CSS when running in production mode.
662+
663+
- As an alternative, if seeking better development performance and css outputs that mimic production. [extract-css-chunks-webpack-plugin](https://github.com/faceyspacey/extract-css-chunks-webpack-plugin) offers a hot module reload friendly, extended version of mini-css-extract-plugin. HMR real CSS files in dev, works like mini-css in non-dev
662664

663665
## Contributing
664666

0 commit comments

Comments
 (0)