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

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

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 23, 2021

WhiteSource Renovate

This PR contains the following updates:

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

Release Notes

webpack-contrib/mini-css-extract-plugin

v2.2.0

Compare Source

Features
Bug Fixes
  • hmr in browser extension (3d09da1)

v2.1.0

Compare Source

Features

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

Configuration

📅 Schedule: "before 9am 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 requested a review from a team August 23, 2021 06:29
@changeset-bot
Copy link

changeset-bot bot commented Aug 23, 2021

⚠️ No Changeset found

Latest commit: 11140bd

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

@netlify
Copy link

netlify bot commented Aug 23, 2021

❌ Deploy Preview for cloudfour-patterns failed.

🔨 Explore the source changes: 11140bd

🔍 Inspect the deploy log: https://app.netlify.com/sites/cloudfour-patterns/deploys/61237e974fef95000836ffea

@renovate renovate bot force-pushed the renovate/mini-css-extract-plugin-2.x branch from 107bb0d to ec3d7aa Compare August 23, 2021 09:14
@renovate renovate bot force-pushed the renovate/mini-css-extract-plugin-2.x branch from ec3d7aa to 11140bd Compare August 23, 2021 10:55
@calebeby
Copy link
Member

Needs webpack 5

@calebeby calebeby closed this Aug 23, 2021
@renovate
Copy link
Contributor Author

renovate bot commented Aug 23, 2021

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 2.x releases. But if you manually upgrade to 2.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@renovate renovate bot deleted the renovate/mini-css-extract-plugin-2.x branch August 23, 2021 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants