Skip to content

Conversion of *.d.ts files? #1

Closed
@oleersoy

Description

@oleersoy

Hi - Nice work!
I'm considering putting it to use in:
https://www.npmjs.com/package/@fireflysemantics/slice

Right now I'm creating a dist folder with *.d.ts files and *.js files. I see that typescript-transform-paths converts the *.js files, but the paths still appear in the *.d.ts files. Is there a setting that will convert the *.d.ts files as well?

Also right now in the root of the Slice project I have a createdist.js script that performs the path conversion. It uses globby to find the resources and replaces the path configured proxies with relative paths.

I tried configuring typescript-transform-paths and running npm compile (Which compiles to the target directory, but it does not look like the paths are being replaced. Any ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions