Skip to content

Add --preserveModules (similar to babel --out-dir) #321

@yordis

Description

@yordis

Current Behavior

We need to specify an entry point.

Desired Behavior

Specify --outDir over an entry point

Suggested 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

  • TypeScript compiler but I don't have support for the Babel plugins 🤷‍♂
  • Babel CLI but I don't have support for SASS loaders 🤷‍♂

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions