mirror of
https://github.com/zhigang1992/postcss-partial-process.git
synced 2026-01-12 09:14:20 +08:00
0ac729d7fa53f2aa9144d6a2a94241f651ffd63d
PostCSS Partial Process
PostCSS plugin that runs other plugins on parts of a CSS file delimited by comments.
Usage
postcss([ require('postcss-partial-process')({
startComment: 'start postcss-partial-process', // default value
endComment: 'end postcss-partial-process', // default value
removeComments: true, // false by default
plugins = [
require('[any postcss plugin you want]'), // this will only affect the CSS between the comments "start postcss-partial-process" and "end postcss-partial-process"
],
}) ])
See PostCSS docs for examples for your environment.
Languages
JavaScript
100%