1.2.1 • Published 9 years ago
wintersmith-postcss v1.2.1
wintersmith-postcss
PostCSS plugin for Wintersmith
Install
npm install wintersmith-postcss --save
Usage
Add wintersmith-postcss
to config.json
:
"plugins": [
"./node_modules/wintersmith-postcss/plugin.coffee"
]
Also, in config.json
you can configure postcss
:
"postcss": {
"entrypoint": "css/main.css",
"from": "contents/css/main.css",
"plugins": [{
"path": "./node_modules/postcss-nested"
}, {
"path": "./node_modules/postcss-import"
}, {
"path": "./node_modules/postcss-url",
"autoexec": true,
"params": {
"url": "inline"
}
}, {
"path": "./node_modules/cssnano",
"autoexec": true
}]
}