Skip to content

Releases: dehuszar/postcss-reference

Improving `@import` path handling

30 Sep 19:43
Compare
Choose a tag to compare

Hopefully fixes scenarios where @import variations are handled better.

Should support paths like

@reference {
  @import 'my.css'
  @import "my.css"
  @import './my.css'
  @import "subfolder/my.css"
  @import url("my.css")
  ...etc
}
...

Attempting to fix botched release

30 Sep 17:59
Compare
Choose a tag to compare

There were some issues with the deployment of 2.1.0. This release will hopefully patch that

v2.1.0

26 Oct 03:03
Compare
Choose a tag to compare

Reintroduces support for @import from within the @reference block. Uses native implementation rather than leaning on other plugins

v2.0.0

26 Oct 03:02
Compare
Choose a tag to compare

Complete re-write of implementation to work with latest version of PostCSS

Media-Query referencing is now

22 Feb 15:49
Compare
Choose a tag to compare

Introduction of @references-media for cross media-query referencing

First official release

04 Nov 20:26
Compare
Choose a tag to compare

First official release brings

  • the ability to define and import styles for reuse and referencing across a stylesheet.
  • the ability to set an 'all' flag to match relative selectors (i.e. @references th all; will match 'th', 'th > h1', etc., but not 'thead' or 'table th'), pseudo-classes, and media-queries, and
  • match rules from the same media query, or with the 'all' flag set allow a non-media-query wrapped selector reference every media query the selector might have a match in.