Skip to content

Commit 05e1a8d

Browse files
committed
2.4.0
1 parent f31b85b commit 05e1a8d

File tree

4 files changed

+30
-8
lines changed

4 files changed

+30
-8
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# 2.4.0 - 2016-01-08
2+
3+
- Added: documentation is now included in the npm package in
4+
`postcss-cssnext/docs/content`
5+
16
# 2.3.0 - 2015-12-16
27

38
- Added: we use latest version of pixrem(@^3)

README.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22

33
[![Travis Build Status](https://img.shields.io/travis/MoOx/postcss-cssnext.svg?label=unix%20build)](https://travis-ci.org/cssnext/postcss-cssnext)
44
[![AppVeyor Build Status](https://img.shields.io/appveyor/ci/MoOx/postcss-cssnext.svg?label=windows%20build)](https://ci.appveyor.com/project/MoOx/postcss-cssnext)
5-
[![NPM version](http://img.shields.io/npm/v/postcss-cssnext.svg?style=flat)](https://www.npmjs.org/package/postcss-cssnext)
5+
[![Package Quality](http://npm.packagequality.com/shield/postcss-cssnext.svg)](http://packagequality.com/#?package=postcss-cssnext)
6+
[![Version](https://img.shields.io/github/release/MoOx/postcss-cssnext.svg)](https://github.com/MoOx/postcss-cssnext/blob/master/CHANGELOG.md)
67
[![Support on gitter chat](https://img.shields.io/badge/support-gitter%20chat-E40255.svg)](https://gitter.im/MoOx/postcss-cssnext)
78

89

@@ -22,15 +23,17 @@ It transforms CSS specs into more compatible CSS so you don’t need to wait for
2223
- [Migration to postcss-cssnext](http://cssnext.io/postcss/)
2324

2425
For questions and support please visit the
25-
[gitter room](https://gitter.im/MoOx/postcss-cssnext).
26+
[support chat](https://gitter.im/MoOx/postcss-cssnext).
2627

2728
For offline documentation, check out `statinamic/docs/content`.
2829

2930
---
3031

31-
_The [issue tracker](https://github.com/MoOx/postcss-cssnext/issues) is exclusively for bug reports and feature requests._
32+
## CONTRIBUTING
3233

33-
---
34+
* ⇄ Pull requests and ★ Stars are always welcome.
35+
* For bugs and feature requests, please create an issue.
36+
* Pull requests must be accompanied by passing automated tests (`$ npm test`).
3437

3538
## [Changelog](CHANGELOG.md)
3639

package.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "postcss-cssnext",
3-
"version": "2.3.0",
3+
"version": "2.4.0",
44
"description": "Use tomorrow’s CSS syntax, today",
55
"keywords": [
66
"postcss",
@@ -11,7 +11,7 @@
1111
],
1212
"author": "Maxime Thirouin",
1313
"license": "MIT",
14-
"repository": "https://github.com/cssnext/postcss-cssnext.git",
14+
"repository": "https://github.com/MoOx/postcss-cssnext.git",
1515
"homepage": "http://cssnext.io/",
1616
"main": "lib/index.js",
1717
"files": [
@@ -54,7 +54,6 @@
5454
"chalk": "^1.1.1",
5555
"classnames": "^2.1.1",
5656
"css-loader": "^0.13.1",
57-
"cssnext-loader": "^1.0.1",
5857
"cssrecipes-custom-media-queries": "^0.3.0",
5958
"cssrecipes-defaults": "^0.5.0",
6059
"cssrecipes-grid": "^0.4.0",
@@ -85,6 +84,11 @@
8584
"normalize.css": "^3.0.3",
8685
"object-assign": "^3.0.0",
8786
"opn": "^1.0.2",
87+
"postcss-browser-reporter": "^0.4.0",
88+
"postcss-import": "^7.1.3",
89+
"postcss-loader": "^0.8.0",
90+
"postcss-reporter": "^1.3.0",
91+
"postcss-url": "^5.0.2",
8892
"react": "^0.13.3",
8993
"rimraf": "^2.4.3",
9094
"style-loader": "^0.12.2",

webpack.config.js

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ module.exports = {
3434
test: /\.css$/,
3535
loader: ExtractTextPlugin.extract(
3636
"style-loader",
37-
"css-loader!cssnext-loader"
37+
"css-loader!postcss-loader"
3838
),
3939
},
4040
{
@@ -46,6 +46,16 @@ module.exports = {
4646
],
4747
},
4848

49+
postcss: (webpack) => {
50+
return [
51+
require("postcss-import")({ addDependencyTo: webpack }),
52+
require("postcss-url")(),
53+
require("./lib/index.js")(), // postcss-cssnext !
54+
require("postcss-browser-reporter")(),
55+
require("postcss-reporter")(),
56+
]
57+
},
58+
4959
plugins: ([
5060
new webpack.DefinePlugin(buildConfig),
5161
new ExtractTextPlugin("[name].css", { disable: !buildConfig.__PROD__ }),

0 commit comments

Comments
 (0)