Skip to content
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

fix(studio-ui-codegen-react): include babel parser for prettier #83

Merged
merged 2 commits into from
Sep 16, 2021

Conversation

dpilch
Copy link
Member

@dpilch dpilch commented Sep 16, 2021

When using the Studio codegen library in a browser envinronment we were getting
the following error:

Couldn't resolve parser "babel". Parsers must be explicitly added to the standalone bundle.

Add babel parser as an explicit import and config for prettier.

@dpilch dpilch requested a review from frimfram September 16, 2021 16:46
@dpilch dpilch merged commit e28551c into main Sep 16, 2021
@dpilch dpilch deleted the fix-babel-parser branch September 16, 2021 19:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants