Skip to content

Module parse failed #410

@daria2023

Description

@daria2023

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions