Skip to content

Polyfilled console is empty #20

Closed
Closed
@nictownsend

Description

@nictownsend

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions