Skip to content

feature request: could exports support array #17

@lovetingyuan

Description

@lovetingyuan
{
  "exports": {
    ".": {
      "import": ["./dist/module.mjs", "./dist/another-module.mjs"]
      "require": "./dist/require.js"
    },
  }
}

for the "import" condition exports, could it be an array? if fail to resolve "./dist/module.mjs", then try to resolve next value, "./dist/another-module.mjs"

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