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

Fix source maps #857

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

KidkArolis
Copy link

Fixes #848
Improves upon the original fix in #726 that broke the source maps for non inline cases.

Note: only one of sourceMap or inlineSourceMap can be on at the same time in tsconfig, so this checks for inline, and if not set falls back to evaluating the sourceMap opiton.

on snapshot update

The snapshot is now correct. The correct line for the error is 30:5:

Error: ␊
at /packages/integrate/__tests__/sourcemaps/sourcemaps.spec.ts:30:5␊

This error is thrown in line 30 here:
image

Would you like me to work on a dedicated test for testing inlineSourceMap? Didn't naturally fit into the current test suite, but could definitely whip something up.

@CLAassistant
Copy link

CLAassistant commented Sep 25, 2024

CLA assistant check
All committers have signed the CLA.

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

Successfully merging this pull request may close these issues.

Source maps broken since versions 1.10.1 (up to and including latest 1.10.9)
2 participants