Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

glamor-plugin-extract-to-comment

vdanchenkov3MIT1.0.1

Glamor plugin. Extracts css properties to comments for better readability.

glamor

readme

glamor-plugin-extract-to-comment

NPM Version Coverage Status Build Status Downloads Dependency Status License

Glamor plugin that extracts specified css property to comment for better readability.

Install

npm install -S glamor-plugin-extract-to-comment

Usage

import extractToComment from "glamor-plugin-extract-to-comment"

import { plugins } from 'glamor'
// to show labels as comments and remove them from rules
plugins.add(extractToComment('label', true))
// or simply
plugins.add(extractToComment())

License

MIT © Vladimir Danchenkov

changelog

Changelog

v1.0.1

  • fix bug: Property name is hardcoded as 'label'

v1.0.0

  • glamor-plugin-extract-to-comment initial commit.