Universal components package not going through the babel loader
Opened this issue · 7 comments
bogdansoare commented
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?
kkemple commented
Are you using this in another application somewhere or the web example is not compiling properly?
bogdansoare commented
The web example
kkemple commented
okay, so sorry on delay, will be looking at this in detail but not until tomorrow evening 😞
bogdansoare commented
No worries, thanks for the effort and first of all for sharing this on github ❤️
jmatsushita commented
Just ran into the same error!
jguipi commented
I got the same error to :(
kkroth commented
I was running into the same error...