Skip to content

Allow importMap field in child workspaces/packages #29199

@CyanChanges

Description

@CyanChanges

Currently, if you specify a importMap in a child workspace(/package), it gives your a warning like:

Warning "importMap" field can only be specified in the workspace root deno.json file.
    at file:///home/cyan/WebstormProjects/koishi-registry-migrate/krts/packages/terminal/deno.json

And it doesn't work.

I think it is good to allow importMap in child workspace(/package)s,
just like how specify a imports field works.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions