mirror of
https://github.com/zhigang1992/postcss-partial-process.git
synced 2026-01-12 17:33:02 +08:00
dependabot/npm_and_yarn/ini-1.3.7
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.7. - [Release notes](https://github.com/isaacs/ini/releases) - [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.7) Signed-off-by: dependabot[bot] <support@github.com>
PostCSS Partial Process
PostCSS plugin that runs other plugins on parts of a CSS file delimited by comments.
Installation
npm install postcss-partial-process
Usage
postcss([
require('postcss-partial-process')({
startComment: 'postcss-partial-process start', // default
endComment: 'postcss-partial-process end', // default
removeComments: 'auto', // default, means the comments are removed unless they are important (e.g. /*! like this */); also accepts `true` or `false`
plugins = [
require('some postcss plugin'), // this plugin will only run between the comments "postcss-partial-process start" and "postcss-partial-process end"
],
}),
])
See PostCSS docs for examples for your environment.
Languages
JavaScript
100%