Skip to content

require() triggers a warning if running in browser #880

Open
@tacman

Description

@tacman

There is a warning in then console about the require function not being present when running twigjs as an imported module.

Please see symfony/symfony#52252

The code still works, but it would be nice to get rid of this warning.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions