3.0.0 • Published 11 months ago

@csstools/postcss-debug-logger v3.0.0

Weekly downloads
-
License
MIT-0
Repository
github
Last release
11 months ago

PostCSS Debug Logger

npm install @csstools/postcss-debug-logger --save-dev

PostCSS Debug Logger logs the AST nodes PostCSS is processing.

This is mainly useful to track down infinite loops in PostCSS plugins.

Usage

Add PostCSS Debug Logger to your project:

npm install postcss @csstools/postcss-debug-logger --save-dev

Use it as a PostCSS plugin:

const postcss = require('postcss');
const postcssDebugLogger = require('@csstools/postcss-debug-logger');

postcss([
	postcssDebugLogger(/* pluginOptions */)
]).process(YOUR_CSS /*, processOptions */);
3.0.0

11 months ago

2.0.1

2 years ago

2.0.0

2 years ago

1.0.0

2 years ago