Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

declarationMap not working #392

Open
hb1998 opened this issue Jun 19, 2022 · 0 comments
Open

declarationMap not working #392

hb1998 opened this issue Jun 19, 2022 · 0 comments

Comments

@hb1998
Copy link

hb1998 commented Jun 19, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant