monetr / web-ui

Web interface for the budgeting application.
Other
1 stars 2 forks source link

Update dependency mini-css-extract-plugin to v2 #486

Closed renovate[bot] closed 3 years ago

renovate[bot] commented 3 years ago

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
mini-css-extract-plugin 1.6.2 -> 2.0.0 age adoption passing confidence

Release Notes

webpack-contrib/mini-css-extract-plugin ### [`v2.0.0`](https://togithub.com/webpack-contrib/mini-css-extract-plugin/blob/master/CHANGELOG.md#​200-httpsgithubcomwebpack-contribmini-css-extract-plugincomparev162v200-2021-06-30) [Compare Source](https://togithub.com/webpack-contrib/mini-css-extract-plugin/compare/v1.6.2...v2.0.0) ##### NOTES In the current release we have fixed many problems with `publicPath`, previously to generate relative URLs inside CSS files developers use different hacks: `publicPath: ''`, `publicPath: '../'`, using relative `../../` in the `outputPath` option for `file-loader` and etc. Now you don't need it anymore. Webpack v5 uses `publicPath: "auto"` by default, which means to always generate relative URLs, and now `mini-css-extract-plugin` does the same. **We strongly recommend use `auto` value by default (except when using CDN).** **We also want to show you that the [`file-loader`](https://togithub.com/webpack-contrib/file-loader) and [`url-loader`](https://togithub.com/webpack-contrib/url-loader) are outdated, please migrate on [Asset Modules](https://webpack.js.org/guides/asset-modules/).** ##### ⚠ BREAKING CHANGES - minimum supported `Node.js` version is `12.13.0` - minimum supported `webpack` version is `5.0.0` - the `modules.namedExport` option was removed, you don't need it anymore, because we respect the `modules.namedExport` option from `css-loader`, just remove it - the `publicPath` option no longer automatically adds `/` (trailing slash), you need to specify, you need to specify it yourself if it is absent, i.e. if you have `publicPath: "/my/public/path"` replace it with `publicPath: "/my/public/path/"` ##### Bug Fixes - generating correct relative `url()` for assets inside CSS files when you use `publicPath: "auto"` (default value) ##### [1.6.2](https://togithub.com/webpack-contrib/mini-css-extract-plugin/compare/v1.6.1...v1.6.2) (2021-06-28) ##### Bug Fixes - performance improvement ##### [1.6.1](https://togithub.com/webpack-contrib/mini-css-extract-plugin/compare/v1.6.0...v1.6.1) (2021-06-25) ##### Bug Fixes - memory leaks ([c68aca7](https://togithub.com/webpack-contrib/mini-css-extract-plugin/commit/c68aca7c58b1bfb3d3f9f8db70fd814e50f82aa1))

Configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by WhiteSource Renovate. View repository job log here.