Skip to content

Add the ability to ignore schemes #1034

Closed
@zephraph

Description

@zephraph

There are situations in which a platform will introduce an import scheme that aren't supported by deno. These schemes should still be publishable to JSR.

The biggest one right now that I'm aware of is cloudflare's cloudflare:* scheme. For example, if you're creating a durable object:

import { DurableObject } from "cloudflare:workers"

Likewise with importing env

import { env } from "cloudflare:workers"

Right now packages that reference these imports can't be published to JSR even though JSR ostensibly supports cloudflare as a suggested deployment target.


See also #986

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions