Skip to content

Commit 60a34d7

Browse files
ScriptedAlchemyevilebottnawi
authored andcommitted
docs(readme): adding extract css chunks to readme (#874)
1 parent e233d0a commit 60a34d7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

+3-1
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)