UNPKG

styled-components

Version:

**This is a work in progress** based off of [this demo](https://github.com/geelen/css-components-demo).

12 lines (7 loc) 705 B
Vendored postcss source as of [31ae472](https://github.com/postcss/postcss/tree/31ae4724afbc02e103711fec6517ba485177d827) (latest release 5.2.0) Vendored postcss-nested source as of [e709092](https://github.com/postcss/postcss-nested/tree/e7090926839cf916f6a24c3ad4079c1206d93b2d) Vendored glamor/sheet.js as of [582dde4](https://github.com/threepointone/glamor/blob/582dde44713bcbe9212a961706c06a34a4ebccb0/src/sheet.js) Then hacked things around: * Deleted `previous-map.js` and all references to it because it `require('fs')`ed * Deleted reference to `postcss` within `postcss-nested` & simply exported the transform function * Made `StyleSheet.insert()` return something with an `update()` method