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

Reflect is not defined #10

Open
Valodya opened this issue May 13, 2017 · 1 comment
Open

Reflect is not defined #10

Valodya opened this issue May 13, 2017 · 1 comment

Comments

@Valodya
Copy link

Valodya commented May 13, 2017

After adding the plugin I have the error in terminal

 ReferenceError: Reflect is not defined
....

I'm using this plugin for correct extending Error class, and when I try to throw an error I have error "Reflect is not defined"

After a quick investigation I've noticed that you are using Reflect

any ideas how to fix it?

@loganfsmyth
Copy link
Owner

Currently the expectation is that you'd be loading babel-polyfill or using babel-plugin-transform-runtime. It's possible that the usage of Reflect may change in the future but hard to say.

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

No branches or pull requests

2 participants