1
Fork 0

Add PostCSS

This commit is contained in:
Jake Howard 2016-02-28 22:23:44 +00:00
parent f617c45843
commit 6123001eb1
2 changed files with 5 additions and 0 deletions

View file

@ -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"

View file

@ -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..."