Skip to content

Commit

Permalink
remove WIP note
Browse files Browse the repository at this point in the history
Preparation of release v1.0.0
  • Loading branch information
SassNinja committed May 30, 2018
1 parent 7537f42 commit c4cebb7
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

[![Build Status](https://travis-ci.com/SassNinja/postcss-extract-media-query.svg?branch=master)](https://travis-ci.com/SassNinja/postcss-extract-media-query)

> **Please note:** currently this plugin is not ready for production! I'll remove this note once it's ready (v.1.0.0)
If page speed is important to you chances are high you're already doing code splitting (hopefully with a bundler such as [webpack](https://webpack.js.org/)). If your CSS is built mobile-first (in particular if using a framework such as [Bootstrap](https://getbootstrap.com/) or [Foundation](https://foundation.zurb.com/sites.html)) chances are also high you're loading more CSS than the current viewport actually needs.

It would be much better if a mobile user doesn't need to load desktop specific CSS, wouldn't it?
Expand Down Expand Up @@ -72,7 +70,7 @@ module.exports = {
path: path.join(__dirname, 'dist')
},
queries: {
'screen and (min-width: 1024)': 'desktop'
'screen and (min-width: 1024px)': 'desktop'
}
}
}
Expand Down Expand Up @@ -114,7 +112,7 @@ By default the params of the extracted media query is converted to kebab case an
```javascript
'postcss-extract-media-query': {
queries: {
'screen and (min-width: 1024)': 'desktop'
'screen and (min-width: 1024px)': 'desktop'
}
}
```
Expand Down

0 comments on commit c4cebb7

Please sign in to comment.