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

Transpiled source is displayed instead of raw typescript #172

Closed
andrewvc opened this issue Dec 7, 2020 · 0 comments · Fixed by #195
Closed

Transpiled source is displayed instead of raw typescript #172

andrewvc opened this issue Dec 7, 2020 · 0 comments · Fixed by #195
Labels
bug Something isn't working

Comments

@andrewvc
Copy link
Contributor

andrewvc commented Dec 7, 2020

Without a tsconfig.json file like the one in the root of this project present synthetics will only show the transpiled (ugly) JS. I think the solution here is to bring back what we used to do, where we hard-coded the tsconfig settings when requiring 'typescript'. This was introduced here: https://github.com/elastic/synthetics/pull/98/files#diff-fa8d4e24d8399e8350f1c8bad05df53e8032ea995835bf911507015e2db61cddR115 but later backed out.

@vigneshshanmugam I'd be curious as to your thoughts here

@andrewvc andrewvc transferred this issue from elastic/observability-docs Dec 14, 2020
@vigneshshanmugam vigneshshanmugam added the bug Something isn't working label Jan 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants