stencil icon indicating copy to clipboard operation
stencil copied to clipboard

feat: upgrade `@rollup/plugin-node-resolve` in order to support `exports` in `package.json`

Open mikaelkaron opened this issue 3 years ago • 3 comments

Prerequisites

Describe the Feature Request

I have a module that exports multiple entry points via package.json exports, but I can't use it in stencil as @rollup/plugin-node-resolve is to old to support it.

Support for exports was introduced in v11.0.0, the current version used in stencil is v9.0.0.

Describe the Use Case

Supporting importing from packages that use exports in package.json

Describe Preferred Solution

Upgrading @rollup/plugin-node-resolve to at least ^11

Describe Alternatives

No response

Related Code

No response

Additional Information

https://nodejs.org/api/packages.html#exports

mikaelkaron avatar Sep 14 '22 00:09 mikaelkaron

Hey @mikaelkaron 👋

We're working through our dependency updates for Stencil as a whole. There are four rollup packages I believe need to be updated, @rollup/plugin-node-resolve among them. I don't have a timeline for this particular package, but it's something we're actively working on. Thanks!

rwaskiewicz avatar Sep 14 '22 13:09 rwaskiewicz