这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@dimaip
Copy link
Contributor

@dimaip dimaip commented Dec 23, 2020

I cannot import this package from Next.JS because it's using ES6 module but doesn't declare itself as a module. I get Uncaught SyntaxError: Cannot use import statement outside a module

An alternative could have been to publish transpiled code in order to support IE11, but that's obviously much harder.

@dimaip
Copy link
Contributor Author

dimaip commented Dec 23, 2020

Hmm actually I was a bit in a hurry to submit this PR, doesn't seem to fix the problem for me.

@dimaip dimaip closed this Dec 23, 2020
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 this pull request may close these issues.

1 participant