This repository has been archived by the owner on Aug 16, 2023. It is now read-only.
Update dependency resolve-url-loader to v3 #366
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This Pull Request updates dependency
resolve-url-loader
(source) fromv2.3.1
tov3.0.0
Release Notes
3.0.0 Postcss
Compare Source
Features
Use
postcss
parser by default. This is long overdue as the oldrework
parser doesn't cope with modern css.Lots of automated tests running actual webpack builds. If you have an interesting use-case let me know.
Breaking Changes
join
option.root
option to be set.Migrating
Initially set option
engine: 'rework'
for parity with your existing build. Once working you can remove this option or setengine: 'postcss'
explicitly.Retain
keepQuery
option if you are already using it.The
root
option now has a different meaning. Previously it limited file search. Now it is the base path for absolute or root-relative URIs, consistent withcss-loader
. If you are already using it you can probably remove it.If you build on Windows platform and your content contains absolute asset paths, then
css-loader
could fail. Theroot
option here may fix the URIs before they get tocss-loader
. Try to leave it unspecified, otherwise (windows only) set to empty stringroot: ''
.This PR has been generated by Renovate Bot.