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

get-own-enumerable-proeprty-symbols package breaks build using create-react-app #49

Closed
chrisjpatty opened this issue May 31, 2017 · 1 comment

Comments

@chrisjpatty
Copy link

static/js/main.9306e5d5.js from UglifyJs
SyntaxError: Unexpected token: operator (>) [./~/get-own-enumerable-property-symbols/index.js:1,0]

I receive this error when running the default build script that ships with create-react-app. I'm on version 3.2.0 of stringify-object

@sindresorhus
Copy link
Member

This module mainly targets Node.js, not the browser. It's up to you to transpile it with Babel if you want to use it in the browser. You can find a more detailed explanation here: sindresorhus/ama#446

@yeoman yeoman locked and limited conversation to collaborators May 31, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants