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: sourcemap.sources path wrong #1766

Merged
merged 1 commit into from
Sep 4, 2024
Merged

fix: sourcemap.sources path wrong #1766

merged 1 commit into from
Sep 4, 2024

Conversation

wang1212
Copy link
Member

@wang1212 wang1212 commented Sep 3, 2024

🤔 This is a ...

  • New feature
  • Bug fix
  • Site / Document optimization
  • TypeScript definition update
  • Refactoring
  • Performance improvement
  • Code style optimization
  • Test Case
  • Branch merge
  • Other (about what?)

🔗 Related issue link

As shown in the figure, the sources file path in the generated map file is wrong.

image

This doesn't mean it won't work, it just reduces the debugging experience for developers.

💡 Background and solution

According to the official TypeScript documentation, configuring sourceRoot can solve this problem.

📝 Changelog

Language Changelog
🇺🇸 English fix: sourcemap.sources path wrong
🇨🇳 Chinese fix: sourcemap.sources 路径错误

☑️ Self Check before Merge

  • Doc is updated/provided or not needed
  • Demo is updated/provided or not needed
  • TypeScript definition is updated/provided or not needed
  • Changelog is provided or not needed

@wang1212 wang1212 changed the base branch from next to release September 3, 2024 12:09
@wang1212 wang1212 requested review from Aarebecca and lvisei September 3, 2024 12:10
@hustcc hustcc merged commit e0f8abe into release Sep 4, 2024
5 checks passed
@hustcc hustcc deleted the fix-sourcemap branch September 4, 2024 01:46
wang1212 added a commit that referenced this pull request Sep 14, 2024
* fix: `sourcemap.sources` path wrong (#1766)

* fix: webgl renderer has logical exception when updating attributes (#1768) (#1769)

* feat: added support for picking rotated text (#1749) (#1772)

* chore: updated benchmark screenshots (#1773)

* chore: updated benchmark screenshots

* fix: sourcemap generation exception

* chore: update test ci node version

* chore: update screenshots and ci config

* chore: delete redundant benchmark images

* Version Packages (#1770)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
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

Successfully merging this pull request may close these issues.

2 participants