sheetify-nested
Sheetify plugin to unwrap nested rules
Last updated 4 years ago by yoshuawuyts .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install sheetify-nested 
SYNC missed versions from official npm registry.

sheetify-nested stability

npm version build status test coverage downloads js-standard-style

Sheetify plugin to unwrap nested rules.

// in.js
var css = require('sheetify')

css`
  :host {
    .input {
      color: blue;
    }
    .button {
      &:hover, &:focus {}
    }
  }
`
/* out.css */
._5e252abd .input {
    color: blue;
}
._5e252abd .button:hover,._5e252abd .button:focus {}

Command line

$ browserify ./test/in.js -t [ sheetify/transform -u sheetify-nested ]

JS api

const browserify = require('browserify')

browserify()
  .transform('sheetify/transform', { use: [ 'sheetify-nested' ] })
  .bundle()

Installation

$ npm install sheetify-nested

License

MIT

Current Tags

  • 1.0.2                                ...           latest (4 years ago)

3 Versions

  • 1.0.2                                ...           4 years ago
  • 1.0.1                                ...           4 years ago
  • 1.0.0                                ...           4 years ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (2)
Dev Dependencies (8)

Copyright 2014 - 2016 © taobao.org |