Bump resolve-url-loader from 3.1.3 to 4.0.0
Bumps resolve-url-loader from 3.1.3 to 4.0.0.
Release notes
Sourced from resolve-url-loader's releases.
4.0.0
Features
- Better resolution of the original source location - You can more successfully use
url()
in variables and mixins.- Dependencies now accept a wider range and explicit dependency on
rework
andrework-visit
has been removed.Breaking Changes
- The
engine
option is deprecated which means the oldrework
engine is deprecated.- The
keepQuery
behaviour is now the default, thekeepQuery
option has been removed.- The
removeCR
option defaults totrue
when executing on Windows OS.- The
absolute
option has been removed.- The
join
option has changed.Migrating
See the changlog.
4.0.0-beta.2
The
removeCR
option defaultstrue
on Windows OS. Default isfalse
otherwise.4.0.0-beta.1
No release notes provided.
4.0.0-alpha.4
- Improved documentation
- The join option has changed again.
4.0.0-alpha.3
- Improved documentation
- The
join
option has changed again.- Warn where incoming source-map is missing.
- Dependency
rework
is now optional peer.- Loosen dependencies (incl.
postcss
) to major version.- Remove low-value dependencies.
4.0.0-alpha.1
- Updated dependencies.
- Better resolution of the original source location - You can more successfully use
url()
in variables and mixins. Dependencies now accept a wider range and explicit dependency onrework
andrework-visit
has been removed.- The
engine
option is deprecated which means the oldrework
engine is deprecated.- The
keepQuery
behaviour is now the default, thekeepQuery
option has been removed.- The
absolute
option has been removed.- The
join
option has changed.
Changelog
Sourced from resolve-url-loader's changelog.
resolve-url-loader
Version 4
Features
- Better resolution of the original source location - You can more successfully use
url()
in variables and mixins.- Dependencies now accept a wider range and explicit dependency on
rework
andrework-visit
has been removed.Breaking Changes
- The
engine
option is deprecated which means the oldrework
engine is deprecated.- The
keepQuery
behaviour is now the default, thekeepQuery
option has been removed.- The
removeCR
option defaults totrue
when executing on Windows OS.- The
absolute
option has been removed.- The
join
option has changed.Migrating
Remove the
engine
option if you are using it - the default "postcss" engine is much more reliable. The "rework" engine will still work for now but will be removed in the next major version.Remove the
keepQuery
option if you are using it.Remove the
absolute
option, webpack should work fine without it. If you have a specific need to rebaseurl()
then you should use a separate loader.If you use a custom
join
function then you will need to refactor it to the new API. Refer to the advanced usage documentation.If you wish to still use
engine: "rework"
then note thatrework
andrework-visit
packages are nowpeerDependencies
that must be explicitly installed by you.Version 3
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
- Multiple options changed or deprecated.
- Removed file search "magic" in favour of
join
option.- Errors always fail and are no longer swallowed.
- Processing absolute asset paths requires
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.
... (truncated)
Commits
-
1d53d32
4.0.0 -
b676cc5
change default branch to v4-maintenance, update CTA on root landing page -
fef805b
4.0.0-beta.2 -
75a1b90
update docs removeCR -
ff44105
update webpack5 test config to the latest dependencies -
2375f56
make removeCR default on windows -
1cc721f
4.0.0-beta.1 -
186f57e
prepare for releasing beta and renaming branches -
20af3dc
4.0.0-alpha.4 -
d5ea53c
fix minor gramatical errors - Additional commits viewable in compare view