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

Reduce __moduleRoot__ usage in importmap #65

Merged
merged 1 commit into from
Feb 12, 2025

Conversation

HolgerJeromin
Copy link
Contributor

Reuse a path in importMap when the path is already available via __src__ or __spec__

fixes #64

@sgravrock
Copy link
Member

Please add tests for this.

@HolgerJeromin
Copy link
Contributor Author

HolgerJeromin commented Feb 5, 2025

Working on the test. Perhaps this needs changes in the code.
Edit: it did

@HolgerJeromin
Copy link
Contributor Author

HolgerJeromin commented Feb 7, 2025

Changed sourcemap generation and added tests

@sgravrock sgravrock merged commit a9121c0 into jasmine:main Feb 12, 2025
4 checks passed
sgravrock added a commit that referenced this pull request Feb 12, 2025
@HolgerJeromin HolgerJeromin deleted the moduleRoot branch February 12, 2025 07:38
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.

Inconsistent __moduleRoot__ prefix in importMap
2 participants