Skip to content

TypeError: esquery.parse is not a function #123

@gaborantal

Description

@gaborantal

I'm using webpack plugin to bundle my application into one single js file. I'm using the library version of eslint which depends on esquery. After a successful build, running the bundled version of my application throws "TypeError: esquery.parse is not a function".

I could only find anything on StackOverflow, without any answer here. The op said that manually modifying the source code works. However, this is not a pleasant and desirable way to bundle a package.

Can you please take a look at?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions