Commit 5187fcdb authored by Victor Nahuel Chaves's avatar Victor Nahuel Chaves Committed by Tim Neutkens

add postcss after sass compilation to with-external-scoped-css example (#1640)

* add postcss after sass compilation

* Fix indent

* Fixed mixed tab indent with spaces
parent 0d0ab77d
......@@ -4,6 +4,7 @@
[
"css-modules-transform", {
"extensions": [".css", ".sass"],
"append": [ "postcss-cssnext" ],
"extractCss": "./static/css/bundle.css",
"preprocessCss": "./pre-processor.js"
}
......
@mixin opacity($opacity)
opacity: $opacity
filter: alpha(opacity=($opacity * 100))
\ No newline at end of file
......@@ -16,6 +16,8 @@
},
"devDependencies": {
"babel-plugin-css-modules-transform": "^1.2.1",
"node-sass": "^4.5.0"
"node-sass": "^4.5.0",
"postcss": "^5.2.16",
"postcss-cssnext": "^2.10.0"
}
}
@import "../global"
.example
@include opacity(0.5)
font-size: 36px
width: 300px
margin: 100px auto
\ No newline at end of file
display: flex
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment