rollup / rollup-starter-lib

Bare-bones example of how to create a library using Rollup
MIT License
961 stars 230 forks source link

TypeScript example using wrong plugin packages #75

Open cseas opened 1 year ago

cseas commented 1 year ago

Got directed to this repo from the rollup website. Trying to figure out how to use Rollup to ship a TypeScript React component library as ESM.

It looks like the packages being used in the TypeScript example are wrong:

https://github.com/rollup/rollup-starter-lib/blob/typescript/package.json#L13-L15

The latest versions of plugins have been moved under the @rollup organization on npm and the example should be updated to use those packages.

https://github.com/rollup/plugins/tree/master/packages/typescript