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

Sourcemaps aren't generated #75

Merged
merged 1 commit into from
Oct 5, 2022

Conversation

FlippingBinary
Copy link
Contributor

Fixes #73 by setting sourcemap: 'linked'. I couldn't find any mention of when the linked option was added to esbuild, but the previous version of esbuild was not compatible with it. For that reason, I updated to the same version used by the official adapters.

Meanwhile, I noticed the supported adapters do not commit their package-lock.json file. Perhaps it would be better to delete package-lock.json and add it to .gitignore. I think it may interfere with npm's deduplication, but I haven't tested that. The file definitely isn't required.

@geoffrich geoffrich merged commit 90e19bd into geoffrich:main Oct 5, 2022
@geoffrich
Copy link
Owner

Thanks! Let's leave the package-lock - the official adapters don't have one because they're part of a pnpm monorepo that has its own lockfile.

@FlippingBinary FlippingBinary deleted the FlippingBinary/issue73 branch October 5, 2022 15:58
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.

Sourcemaps aren't generated
2 participants