Mini CSS Extract Plugin is a Webpack plugin that extracts CSS into separate files, creating one CSS file per JavaScript file which contains CSS. This is particularly useful for production builds where you want to load CSS asynchronously and optimize loading times. Comparing versions 1.3.0 and 1.2.1, while the core functionality remains the same, several underlying development dependencies have been updated, which can improve build stability and development experience.
Specifically, some notable changes in dev dependencies include updates to Jest (testing framework), eslint-config-prettier (ESLint configuration for Prettier), and CSS-loader. Version 1.3.0 uses "jest": "^26.6.3" while version 1.2.1 uses "jest": "^26.6.1". The css-loader was bumped up to version 5.0.1 from 5.0.0. While these updates might not directly impact the plugin's usage in your Webpack configuration, they reflect improvements in the development environment and testing processes, potentially leading to fewer bugs and better overall performance indirectly.
The peer dependency on Webpack remains consistent ("^4.4.0 || ^5.0.0"), ensuring compatibility with a wide range of Webpack versions. Choose the latest version, 1.3.0, for potential under-the-hood improvements. Always test plugin updates with your specific project setup and dependencies, to ensure seamless integration. Upgrading helps ensure better compatibility with other updated packages.
The are not vulnerabilities for the version 1.3.0 of the package mini-css-extract-plugin