Skip to content

Releases: bholloway/resolve-url-loader

3.1.2

22 Oct 03:58
Compare
Choose a tag to compare

bump adjust-sourcemap-loader to address object-path issue

4.0.0-alpha.1

02 Mar 09:41
Compare
Choose a tag to compare
4.0.0-alpha.1 Pre-release
Pre-release
  • 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 on rework and rework-visit has been removed.
  • 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 absolute option has been removed.
  • The join option has changed.

3.1.0

01 Oct 22:38
Compare
Choose a tag to compare
3.1.0

3.0.0 Postcss

14 Sep 05:41
Compare
Choose a tag to compare

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: ''.

Attempts option to opt-out of file search "magic"

29 Oct 21:19
Compare
Choose a tag to compare

Full file search is still the default, for backwards compatibility.

However you may now set attempts=1 to curtail the search to just the immediate file.

Bugfix / basic optimisation - ignore http(s) URIs

09 Oct 20:47
Compare
Choose a tag to compare

We have always ignored data: URIs.
This change ignores explicit http: and https: URIs in the same way.

Fix loaderUtils deprecation warning

03 Mar 06:40
Compare
Choose a tag to compare
2.0.2

fix deprecation warning, bump patch version

Webpack 2, less-loader, sass-loader 6

01 Mar 21:09
Compare
Choose a tag to compare
2.0.0

bump major version: support less-loader, sass-loader@>=6.0.0

keepQuery option

04 Jul 11:56
Compare
Choose a tag to compare
1.5.0

bump minor version: keepQuery option

support relative output paths

09 Dec 10:33
Compare
Choose a tag to compare
1.4.3

Merge remote-tracking branch 'origin/master'