-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Parse error unexpected token #33
Comments
I have similar issue but my component library is bundled with rollup instead of the webpack. I get this issue
I've tried to install additional babel plugins, but haven't found the solution yet.
|
@ummahusla - Has your babelrc file got typescript in there? This project out of the box is just dealing with .JS extension , it'd guess that's what you need to look at try adding "@babel/typescript" to the preset? |
@ppanthony Yeah, tried to play around it:
Wit hthe babelrc above I get the same results |
@ppanthony Found this gem: https://www.npmjs.com/package/create-react-library, a bit of the configuration and reading issues, was able to setup and publish library with hours (scss, ts, jest, etc everything works straight outta the box). The only thing what is missing storybook. |
Not sure if this is something I'm doing, but I've just uploaded rinse to github, and npm installed it in my project. Anyone any ideas, or settings I may need in order to get the separate component library to get properly pulled in?
Currently getting the following Babel error:
The text was updated successfully, but these errors were encountered: