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

Module parse failed #410

Closed
daria2023 opened this issue Aug 23, 2023 · 2 comments
Closed

Module parse failed #410

daria2023 opened this issue Aug 23, 2023 · 2 comments

Comments

@daria2023
Copy link

// function ee(e) {
// (a("allowKeyboardControl") ?? !0) && (e.key === "Escape" ? L("escapePress") : e.key === "ArrowRight" ? L("arrowRightPress") : e.key === "ArrowLeft" && L("arrowLeftPress"));
// }
the function ee is throwing error when importing the package like this:
Module parse failed: Unexpected token (208:30)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders;
after i commented this function , it seems all right? ps i am using it inside a vue project.

@TTANF1
Copy link

TTANF1 commented Aug 25, 2023

I think you and I have the same problem, like #409 , and i had a PR to fix it.

kamranahmedse pushed a commit that referenced this issue Sep 4, 2023
Co-authored-by: ekaidalov <ekaidalov@aligntech.com>
@kamranahmedse
Copy link
Owner

This should be fine in 1.3.0 -- let me know if you face any issues.

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

No branches or pull requests

3 participants