Skip to content
This repository has been archived by the owner on Mar 18, 2019. It is now read-only.

Commit

Permalink
2.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
MoOx committed Jan 8, 2016
1 parent f31b85b commit 05e1a8d
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 8 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
@@ -1,3 +1,8 @@
# 2.4.0 - 2016-01-08

- Added: documentation is now included in the npm package in
`postcss-cssnext/docs/content`

# 2.3.0 - 2015-12-16

- Added: we use latest version of pixrem(@^3)
Expand Down
11 changes: 7 additions & 4 deletions README.md
Expand Up @@ -2,7 +2,8 @@

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


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

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

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

---

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

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

## [Changelog](CHANGELOG.md)

Expand Down
10 changes: 7 additions & 3 deletions package.json
@@ -1,6 +1,6 @@
{
"name": "postcss-cssnext",
"version": "2.3.0",
"version": "2.4.0",
"description": "Use tomorrow’s CSS syntax, today",
"keywords": [
"postcss",
Expand All @@ -11,7 +11,7 @@
],
"author": "Maxime Thirouin",
"license": "MIT",
"repository": "https://github.com/cssnext/postcss-cssnext.git",
"repository": "https://github.com/MoOx/postcss-cssnext.git",
"homepage": "http://cssnext.io/",
"main": "lib/index.js",
"files": [
Expand Down Expand Up @@ -54,7 +54,6 @@
"chalk": "^1.1.1",
"classnames": "^2.1.1",
"css-loader": "^0.13.1",
"cssnext-loader": "^1.0.1",
"cssrecipes-custom-media-queries": "^0.3.0",
"cssrecipes-defaults": "^0.5.0",
"cssrecipes-grid": "^0.4.0",
Expand Down Expand Up @@ -85,6 +84,11 @@
"normalize.css": "^3.0.3",
"object-assign": "^3.0.0",
"opn": "^1.0.2",
"postcss-browser-reporter": "^0.4.0",
"postcss-import": "^7.1.3",
"postcss-loader": "^0.8.0",
"postcss-reporter": "^1.3.0",
"postcss-url": "^5.0.2",
"react": "^0.13.3",
"rimraf": "^2.4.3",
"style-loader": "^0.12.2",
Expand Down
12 changes: 11 additions & 1 deletion webpack.config.js
Expand Up @@ -34,7 +34,7 @@ module.exports = {
test: /\.css$/,
loader: ExtractTextPlugin.extract(
"style-loader",
"css-loader!cssnext-loader"
"css-loader!postcss-loader"
),
},
{
Expand All @@ -46,6 +46,16 @@ module.exports = {
],
},

postcss: (webpack) => {
return [
require("postcss-import")({ addDependencyTo: webpack }),
require("postcss-url")(),
require("./lib/index.js")(), // postcss-cssnext !
require("postcss-browser-reporter")(),
require("postcss-reporter")(),
]
},

plugins: ([
new webpack.DefinePlugin(buildConfig),
new ExtractTextPlugin("[name].css", { disable: !buildConfig.__PROD__ }),
Expand Down

0 comments on commit 05e1a8d

Please sign in to comment.