rollup / plugins

🍣 The one-stop shop for official Rollup plugins
MIT License
3.57k stars 567 forks source link

ref(typescript): remove resolve package #1742

Open AbhiPrasad opened 4 days ago

AbhiPrasad commented 4 days ago

Rollup Plugin Name: @rollup/plugin-typescript

This PR contains:

Are tests included?

Breaking Changes?

If yes, then include "BREAKING CHANGES:" in the first commit message body, followed by a description of what is breaking.

List any relevant issue numbers:

No relevant issue numbers, but this may solve https://github.com/rollup/plugins/issues/1700 and https://github.com/rollup/plugins/issues/1703 because we are using the native node resolver.

Description

@rollup/plugin-typescript requires Node 14 or higher, so we can switch from using the resolve package to built-in require.resolve.

image

https://npmgraph.js.org/?q=%40rollup%2Fplugin-typescript#select=exact%3Aresolve%401.22.8