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

Change to prettify.js for better React support #1

Merged
merged 1 commit into from
Aug 15, 2017
Merged

Change to prettify.js for better React support #1

merged 1 commit into from
Aug 15, 2017

Conversation

yuschick
Copy link

I have been using this library in my latest create-react-app project. Whenever running Yarn Build which calls the build react-script, the uglify process errors on src/prettify.js due to the ES6 syntax of the modules.export object. By updating the syntax, as done here, the build process can run without error.

@alex-milanov
Copy link
Owner

Sure thing. Thanks for the PR

@alex-milanov alex-milanov merged commit 78ddeb1 into alex-milanov:master Aug 15, 2017
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