2021-03-29 19:11:04 +00:00
2018-05-03 01:27:28 -04:00
2018-05-03 01:27:28 -04:00
2018-05-03 01:27:28 -04:00
2020-07-19 16:56:24 -04:00
2018-05-03 01:27:28 -04:00
2019-07-08 12:31:37 -04:00
2019-07-08 12:34:26 -04:00
2018-05-03 01:27:28 -04:00
2020-07-19 16:56:24 -04:00
2019-07-08 12:34:26 -04:00
2019-07-08 12:34:26 -04:00

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.

Description
No description provided
Readme MIT 281 KiB
Languages
JavaScript 100%