Skip to content

Unable to load in deno #29

Open
Open
@kyeotic

Description

@kyeotic

When I try loading in deno with import { XMasonry, XBlock } from 'react-xmasonry' I get

Uncaught SyntaxError: The requested module 'react-xmasonry' does not provide an export named 'XBlock' at file:///home/kyeotic/dev/portfolio/src/app/projects/Projects.tsx:2:20

This happens with all of these options (defined in import_map)

  • npm:react-xmasonry@3.0.6
  • https://esm.sh/react-xmasonry@3.0.6
  • https://esm.sh/react-xmasonry@3.0.6/dist/index.js
  • https://unpkg.com/react-xmasonry/dist/index.js

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