diff --git a/package.json b/package.json index e7e290d..22012cf 100644 --- a/package.json +++ b/package.json @@ -29,6 +29,7 @@ "whatwg-fetch": "=0.10.1" }, "devDependencies": { + "autoprefixer": "=6.3.3", "babel-preset-es2015": "=6.1.18", "babel-preset-react": "=6.1.18", "babelify": "=7.2.0", @@ -39,6 +40,7 @@ "eslint-plugin-react": "=3.4.2", "less": "=2.5.1", "less-mixins": "git://github.com/RealOrangeOne/less-mixins.git", + "postcss-cli": "=2.5.1", "react-tools": "=0.13.2", "uglify-js": "=2.4.24", "watch": "=0.16.0" diff --git a/scripts/build-less.sh b/scripts/build-less.sh index 23f2011..d9f27fa 100755 --- a/scripts/build-less.sh +++ b/scripts/build-less.sh @@ -10,6 +10,9 @@ fi echo ">> Building LESS..." lessc --silent static/src/less/style.less static/build/css/style.css +echo ">> Post-Processing..." +postcss -u autoprefixer -o static/build/css/style.css static/build/css/style.css + if [[ $BUILD_PRODUCTION ]] then echo ">> Compressing LESS..."