Skip to content

declarationMap not working #392

@hb1998

Description

@hb1998

declarationMap is ts compiler option which I use in a monorepo for Go to Defenition support in vscode.
I use gulp and gulp-typescript to compile typescript and in the docs they have mentioned

Sourcemap options (sourceMap, inlineSourceMap, inlineSources, sourceRoot, declarationMap) - Use gulp-sourcemaps instead.

but after adding gulp-sourcemap its still not generating the files.

this is what is generated after direct tsc compilation
image

with gulp-typescript and gulp-sourcemaps
image

this is my gulp script
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions