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: don't generate sourcemap on build, close #831 #1113

Merged
merged 3 commits into from
Feb 3, 2024

Conversation

antfu
Copy link
Contributor

@antfu antfu commented Jan 25, 2024

I am not sure if sourcemaps are used somewhere, but since it's not shipped with the npm, I think it's better to not generate them otherwise would lead to hanging sourcemap reference #831

@43081j 43081j requested a review from fb55 January 25, 2024 11:59
@43081j
Copy link
Collaborator

43081j commented Jan 25, 2024

makes sense to me but have added felix as a reviewer as he might know more

@wooorm
Copy link
Collaborator

wooorm commented Jan 25, 2024

The code here might also be because it was intended to publish declaration/source maps, right? Could solving that by adding it to “files” also solve your issue?

@antfu
Copy link
Contributor Author

antfu commented Jan 25, 2024

The previous PR trying that way gets closed:
#890 (comment)

I don't mind either ways - it's just the current state causing build tools like Vite emits a lot of warnings

@fb55 fb55 merged commit 38696be into inikulin:master Feb 3, 2024
7 checks passed
@fb55
Copy link
Collaborator

fb55 commented Feb 3, 2024

Thanks @antfu!

@JvanderHeide
Copy link

Could we get a release for this?

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.

5 participants