Skip to content
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
merged 1 commit into from
Sep 18, 2018

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 14, 2018

This Pull Request updates dependency resolve-url-loader (source) from v2.3.1 to v3.0.0


Release Notes

3.0.0 Postcss

Compare Source

Features

  • Use postcss parser by default. This is long overdue as the old rework 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 set engine: '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 with css-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. The root option here may fix the URIs before they get to css-loader. Try to leave it unspecified, otherwise (windows only) set to empty string root: ''.



This PR has been generated by Renovate Bot.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants