Skip to content

"." is not a valid export - TypeError #252

@MateoLa

Description

@MateoLa

In Firefox: TypeError: ({}) is not a function
In Chrome: TypeError: Chessboard is not a function
In jspm online generator (https://generator.jspm.io): "." is not a valid export

I've been working in Rails 7 trying to pin (Importmap) your npm package.
I think you should consider to add something like: "main": "lib/chessboard.js" to your package.json

Could you check it?

Thanks,

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