Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to load the plugin as ES6 module #91

Open
jarrodek opened this issue Apr 2, 2019 · 3 comments · May be fixed by #99
Open

Unable to load the plugin as ES6 module #91

jarrodek opened this issue Apr 2, 2019 · 3 comments · May be fixed by #99

Comments

@jarrodek
Copy link

jarrodek commented Apr 2, 2019

When importing the plugin as a ES6 module I've got the following error:

Uncaught ReferenceError: txt is not defined

This is caused by minified file missing variable declaration and by just using the variable.
ES6 modules are always in strict mode that causes the error.

It's had to pinpoint specific script that causes the issue. It looks like one of the dependencies. I was unable to do this. Maybe there is a way to check what causes the problem and replace / upgrade the library?

@trenta3
Copy link

trenta3 commented Nov 18, 2019

Any news on this? I'm using rollup as a bundler, which can only import CommonJS modules in strict mode, so this is blocking me now.

@p12y
Copy link

p12y commented Jul 19, 2020

The issue can be traced to the md5-jkmyers dependency. It can be resolved by changing to a different md5 library. The current one is not maintained.

@p12y p12y linked a pull request Jul 19, 2020 that will close this issue
@sureshvv
Copy link

sureshvv commented Sep 5, 2022

Any success with this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants