postcss inherit:https:github.comreworkcssrework inherit的PostCSS端口 源码
PostCSS继承 继承插件。 允许您继承与给定选择器关联的所有规则。 根据建模。 API var postcss = require ( 'postcss' ) ; var inherit = require ( 'postcss-inherit' ) postcss ( [ inherit ] ) . process ( css , { from : 'src/app.css' , to : 'app.css' } ) . then ( function ( result ) { fs . writeFileSync ( 'app.css' , result . css
用户评论