Skip to content

Possible to modify JS output but not .d.ts output? #29

@raijinsetsu

Description

@raijinsetsu

We have a plugin architecture. The "base" of that is in the host server. We published a virtual package so that plugin developers did not have to develop "inside" the server's source repository.

We had been manually re-writing the JS output, but this messes up the map files.

This plugin appears to do 90% of what we need but has the side-effect of breaking the .d.ts imports, which should continue to reference the NPM module and not some local thing.

Any issues with adding this in as a feature? I haven't looked at the code yet, so I'm not sure how difficult this would be to implement or if it's even possible given what Typescript allows...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions