Update postcss and completely remove rework parser.
Breaking Changes
Require node@>=12.
Support webpack@>=4 (no longer tested for earlier versions).
The engine option has been removed.
Migrating
Remove the engine option if you are using it.
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 and rework-visit has been removed.
Breaking Changes
The engine option is deprecated which means the old rework engine is deprecated.
The keepQuery behaviour is now the default, the keepQuery option has been removed.
The removeCR option defaults to true 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 rebase url() 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 that rework and rework-visit packages are now peerDependencies that must be explicitly installed by you.
Version 3
Features
Use postcss parser by default. This is long overdue as the old rework parser doesn't cope with modern css.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/jgrossi/elephpant.me/network/alerts).
Removes object-path. It's no longer used after updating ancestor dependency resolve-url-loader. These dependencies need to be updated together.
Removes
object-path
Updates
resolve-url-loader
from 2.3.1 to 5.0.0Release notes
Sourced from resolve-url-loader's releases.
... (truncated)
Changelog
Sourced from resolve-url-loader's changelog.
... (truncated)
Commits
bf01da9
5.0.078393f6
update branch references to v56787839
github actions for CI1457038
update changelog and readmea01faf9
5.0.0-beta.1fb09fae
remove the engine option harder, ensure deprecation warning is tested5654fa4
remove the engine option and related tests, use getOptions from loader where ...10f9cdb
5.0.0-alpha.1b168dd3
adjust deprecation message for engine option29e142a
normalise windows absolute paths to posix format in log messagesDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/jgrossi/elephpant.me/network/alerts).