Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update dependency mini-css-extract-plugin to v2 #2289

Merged
merged 2 commits into from
Jul 5, 2021

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 5, 2021

WhiteSource Renovate

This PR contains the following updates:

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

Release Notes

webpack-contrib/mini-css-extract-plugin

v2.0.0

Compare Source

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 and url-loader are outdated, please migrate on 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 (2021-06-28)
Bug Fixes
  • performance improvement
1.6.1 (2021-06-25)
Bug Fixes

v1.6.2

Compare Source


Configuration

📅 Schedule: "before 3am on Monday" (UTC).

🚦 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.


  • If you want to rebase/retry this PR, check this box.

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

@renovate renovate bot added the 🤖 Type: Dependencies Dependency updates or something similar label Jul 5, 2021
@changeset-bot
Copy link

changeset-bot bot commented Jul 5, 2021

🦋 Changeset detected

Latest commit: 95c4dde

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@commercetools-frontend/mc-scripts Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel
Copy link

vercel bot commented Jul 5, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/commercetools/merchant-center-application-kit/BwtY6jWDYGkZYQEznAtsfojkZydc
✅ Preview: https://merchant-center-application-kit-git-renova-d140c8-commercetools.vercel.app

@vercel vercel bot temporarily deployed to Preview July 5, 2021 02:54 Inactive
@tdeekens
Copy link
Contributor

tdeekens commented Jul 5, 2021

Went over the breaking changes and actually can't find anything possibly affecting us. With VRTs here we gain some confidence. VRTs lacking internally could help here though. Still, we'll notice rather quickly I think 🤞🏼.

@vercel vercel bot temporarily deployed to Preview July 5, 2021 06:07 Inactive
@tdeekens tdeekens merged commit af5d6c3 into main Jul 5, 2021
@tdeekens tdeekens deleted the renovate/mini-css-extract-plugin-2.x branch July 5, 2021 06:07
@ghost ghost mentioned this pull request Jul 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🤖 Type: Dependencies Dependency updates or something similar
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants