We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
source map external does not link to the source map preventing browser from automatically loading them
add an option to the source map flag named linked the will add a source mapping comment like this //# sourceMappingURL=index.js.map
//# sourceMappingURL=index.js.map
I made consider internal but I don't serve source maps to users that don't have a enough permission and I cant limit the internal sourcemap
The text was updated successfully, but these errors were encountered:
My workaround for now is to just append the sourcemapping line myself after calling bun.build() in my build script -
await Bun.build({ entrypoints: ['src/index.ts'], outdir: 'dist', sourcemap: 'external' }); await appendFile("dist/src/index.js", '\n//# sourceMappingURL=index.js.map');
Sorry, something went wrong.
--sourcemap=linked
//# sourceMappingURL
Successfully merging a pull request may close this issue.
What is the problem this feature would solve?
source map external does not link to the source map preventing browser from automatically loading them
What is the feature you are proposing to solve the problem?
add an option to the source map flag named linked the will add a source mapping comment like this
//# sourceMappingURL=index.js.map
What alternatives have you considered?
I made consider internal but I don't serve source maps to users that don't have a enough permission and I cant limit the internal sourcemap
The text was updated successfully, but these errors were encountered: