Add PostCSS
This commit is contained in:
parent
f617c45843
commit
6123001eb1
2 changed files with 5 additions and 0 deletions
|
@ -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"
|
||||
|
|
|
@ -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..."
|
||||
|
|
Reference in a new issue