Skip to content

ReferenceError: Can't find variable: process #90

@karoun

Description

@karoun

In browsers like older Safaris that don't support ResizeObserver, the console warning fails with Can't find variable: process.

I suspect this is because the relayout function is being converted to a string and/or the bundler doesn't compile out process.env.NODE_ENV in third-party dependencies.

Merging #36 may solve this issue because it avoids accessing process in the injected <script>.

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