c8r / kit

Tools for developing, documenting, and testing React component libraries

Home Page:https://compositor.io/kit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`kit ... --mode library` does not work with *rebass*

ryuheechul opened this issue · comments

I did typed commands below
$ kit init # and chose rebass
$ kit examples --mode library

and the results are below

 kit  @compositor/kit-cli
 kit  ⠦ starting dev server...✖ 「wdm」: 
ERROR in /usr/local/lib/node_modules/@compositor/kit-cli/src/Library.js 19:6
Module parse failed: Unexpected token (19:6)
You may need an appropriate loader to handle this file type.
| 
|     return (
>       <Library {...props} examples={examples} />
|     )
|   }
 @ /usr/local/lib/node_modules/@compositor/kit-cli/node_modules/@compositor/x0/lib/entry.js 217:48-60 217:72-84
 @ multi /usr/local/lib/node_modules/@compositor/kit-cli/node_modules/@compositor/x0/lib/entry
 kit  dev server listening on http://localhost:8080 (copied to clipboard)

and the web page is showing nothing

my env: node.js - 10.5.0, kit - 1.0.47

Same problem with the Tachyons kit.

Same issue here with Rebass. Anyone able to resolve this?

Same with styled-components.