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

If original code was TypeScript - the library attempts to read the .ts file as well #247

Open
kristijanstefanoski opened this issue Apr 23, 2024 · 0 comments

Comments

@kristijanstefanoski
Copy link

kristijanstefanoski commented Apr 23, 2024

I have a TypeScript project which I compile to JavaScript and deploy. It includes source-maps as well, but when I try to apply v8ToIstanbul it fails because it cannot find the .ts file in the src directory - which is not deployed.
Is it expected for this library to have both source and compiled code side-by-side? Or it's just the way I am using it?
Currently I use it in the simplest way possible:
const converter = v8toIstanbul(filePath);

where filePath is the path to the .js file

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