Recommended way to limit total size of an ESM library

Author: silvenonCreated Oct 26, 2021Updated Oct 27, 2021

Hello! In my library I have a root ESM index file exporting everything, so I would like to use that to limit the total size of my library. Simply specifying the file with `path` doesn't appear to be enough, as the size ends up being zero or next to zero, so is there a way to import all exports somehow, for example `import: "*"`? What is generally the recommended way to limit total size in an ESM library?