transition icon indicating copy to clipboard operation
transition copied to clipboard

packaging: consider using entry points to limit the number of possible imports

Open tahini opened this issue 1 year ago • 0 comments

See https://nodejs.org/api/packages.html#package-entry-points

Currently, any file compiled in a package can be imported from other packages. But sometimes, the intent is to have an index.ts file in a folder which should be the one to include and the other files are just there to split the code. With entry points, we can avoid external packages including "intermediary" files.

tahini avatar Aug 08 '24 13:08 tahini