Skip to content

Allow generating a single UMD bundle with all code #31

@bebraw

Description

@bebraw

I started porting a project to dnt and so far that has gone well. I bumped into a little problem, though.

It seems the UMD code the tool emits is split to follow the original module structure. In my case, that's adding extra roundtrips I would like to avoid. Instead, the target is to match the old build which emitted a single file with all the code.

I have the related PR here if you want to have a look, survivejs/sidewind#57 .

Previously I was using tsdx in my setup and I imagine it's doing exactly that or using something like a rollup to handle bundling as it's possible TS itself might not be able to handle the task.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions