github maizzle/framework v5.5.0

10 hours ago

New features

Merge media queries

A new css.media config option was added, which can be used to control merging and sorting of media queries (using postcss-sort-media-queries):

export default {
  css: {
    media: {
      merge: true, // same as `media: true`
	  sort: 'mobile-first' // default
    },
  }
}

By default, media queries of the same type are not merged. See #1677 for the rationale behind this.

Updated

The components.plugins option has been updated to support running PostHTML plugins either before or after expressions are parsed when components are processed:

// As array, plugins run after expressions
const options = { 
  plugins: [/* ... */]
};

// As object with `before` and `after`
const options = { 
  plugins: {
    before: [/* ... */],
    after: [/* ... */],
  } 
};
  • build(deps): bump posthtml-component from 2.2.2 to 2.3.0 07a7d8c
  • feat: sort media queries option ce254c7

v5.4.1...v5.5.0

Don't miss a new framework release

NewReleases is sending notifications on new releases.