Skip to content

Importing from /bundler fails when using jsr #4

@jespertheend

Description

@jespertheend

When I use

import { Maxmind } from "jsr:@josh-hemphill/maxminddb-wasm/bundler";

as shown in the documentation, I get an error:

Unknown export './bundler' for '@josh-hemphill/[email protected]'.
  Package exports:
 * .

This works fine though (without /bundler):

import { Maxmind } from "jsr:@josh-hemphill/maxminddb-wasm";

So I think either the documentation needs to be updated, or jsr.json should be modified to fix this somehow.

Let me know if you'd like me to fix this in a PR.

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