Skip to content

No longer works in browser with Webpack 5 #52

@eddie-dunn

Description

@eddie-dunn

Webpack 5 no longer provides polyfills for NodeJS packages. In my case I get Uncaught ReferenceError: process is not defined from this line. I.e., it's process.platform that fails.

I'm running an app built with Create React App, which is why I think the previous line referencing process.env seems to work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions