scopify-cli

0.4.0 • Public • Published

scopify-cli

A command line interface for PostCSS-Scopify. This interface will walk the current working directory and will add user input css scope to each selector at each .css file

Example input

.foo.boo h1 {
    /* declarations */
}

Example output

#scope .foo#scope .boo h1 {
    /* declarations */
}

Installation

npm install scopify-cli -g

Usage (from the command line)

scopify-cli '#scope'

Package Sidebar

Install

npm i scopify-cli

Weekly Downloads

4

Version

0.4.0

License

MIT

Last publish

Collaborators

  • pazams