Skip to content

Support "exports" field in package.json #208

Description

@tetsuharuohzeki
  • Rollup Plugin Name: @rollup/plugin-node-resolve
  • Rollup Plugin Version: 7.1.1

Feature Use Case

Bundle a package seamlessly which provides exports` field as an entry point.

Feature Proposal

The exports field has been added to package.json to define an encapsulating entry points for Node.js ES Module supports.
https://nodejs.org/api/esm.html#esm_package_entry_points

This feature has been unflagged from Node.js v13.7. and I seem that this was backported to v12.16.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions