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.
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?