Closed SUpermin6u closed 8 years ago
According to the API docs of PostCSS this should work as expected. Also the test of the example is passed. Can you give more information when this isn't working?
I made some mistake, this happens when i import the "gulp-postcss" module to build the gulp work flow,and the config to use 'postcss-sprites' to output dimension is a little diffrent from the example you gave
Yes, you should include postcss
along with gulp-postcss
so you will be able to use postcss.decl
method.
in newest version, the example at 'examples/output-dimensions.md' couldn't work anymore, this id the correct way to output dimension