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

Polyfilled console is empty #20

Closed
nictownsend opened this issue Oct 20, 2021 · 2 comments
Closed

Polyfilled console is empty #20

nictownsend opened this issue Oct 20, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@nictownsend
Copy link

nictownsend commented Oct 20, 2021

Using the default plugin configuration, console appears to be polyfilled as an empty object.

One of my dependencies uses uuid which uses util.deprecate - but in util the console is simply an empty object so errors when it tries to call console.error

new NodePolyfillPlugin({
			excludeAliases: ["console"]
		}),

Appears to fix it.

@Richienb
Copy link
Owner

Errors with polyfilling the console have been popping up a lot. I'm considering no longer polyfilling it by default any more. Thoughts?

@Richienb Richienb added the bug Something isn't working label Oct 20, 2021
@Ebukachuqz
Copy link

Errors with polyfilling the console have been popping up a lot. I'm considering no longer polyfilling it by default any more. Thoughts?

Please do not polyfill it anymore. I still have issues with it presently

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants