Build a Tree‑Shakable Rollup Library with Preserved ES Module Structure
Configure Rollup with format es and preserveModules true to emit a directory of ES files that mirrors your source, enabling downstream tree‑shaking without bundling the whole library.