-
Notifications
You must be signed in to change notification settings - Fork 503
Add --preserveModules (similar to babel --out-dir) #321
Copy link
Copy link
Closed
Labels
solution: duplicateThis issue or pull request already existsThis issue or pull request already existssolution: workaround availableThere is a workaround available for this issueThere is a workaround available for this issuetopic: multi-entryRelated to multi-entry supportRelated to multi-entry supporttopic: preserveModulesRelated to Rollup's preserveModules featureRelated to Rollup's preserveModules feature
Metadata
Metadata
Assignees
Labels
solution: duplicateThis issue or pull request already existsThis issue or pull request already existssolution: workaround availableThere is a workaround available for this issueThere is a workaround available for this issuetopic: multi-entryRelated to multi-entry supportRelated to multi-entry supporttopic: preserveModulesRelated to Rollup's preserveModules featureRelated to Rollup's preserveModules feature
Current Behavior
We need to specify an entry point.
Desired Behavior
Specify
--outDirover an entry pointSuggested Solution
I am interested in having TypeScript/Babel CLI like compilations rather than outputting a single file.
Who does this impact? Who is this for?
All users, friendly for ESM builds without having to import everything in the entry file.
Describe alternatives you've considered
Additional context