kkemple/universal-components-example

Universal components package not going through the babel loader

Opened this issue · 7 comments

Hey, I've tried using the universal components package in the web example and it seems it's not going through the babel loader

../universal-components/components/button/index.js
Module parse failed: Unexpected token (13:7)
You may need an appropriate loader to handle this file type.
| import PropTypes from 'prop-types';
| 
| export type ButtonProps = {
|   backgroundColor: string,
|   fontColor: string,

Any ideas why?

Are you using this in another application somewhere or the web example is not compiling properly?

The web example

okay, so sorry on delay, will be looking at this in detail but not until tomorrow evening 😞

No worries, thanks for the effort and first of all for sharing this on github ❤️

Just ran into the same error!

I got the same error to :(

I was running into the same error...