Skip to content

Commit

Permalink
Merge pull request styled-components#846 from jjanssen/fix/update-ven…
Browse files Browse the repository at this point in the history
…dor-readme

Remove Glamor stylesheet reference from the vendor readme
  • Loading branch information
geelen authored Jun 15, 2017
2 parents 3b58ad6 + c39917c commit 006454c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/vendor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,8 @@ Vendored postcss source as of [31ae472](https://github.com/postcss/postcss/tree/

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
* Replaced nested `require` statements with `import` declarations for the sake of a leaner bundle. This entails adding empty imports to three files to guarantee correct ordering – see https://github.com/styled-components/styled-components/pull/100

0 comments on commit 006454c

Please sign in to comment.