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

When using esbuild and sourcemaps, any resulting error messages do not utilize the sourcemap. #370

Open
doulighan opened this issue Feb 6, 2024 · 0 comments

Comments

@doulighan
Copy link

serverless-bundle: 6.1.0
node: 16, 17, 18

bundle:
    linting: false
    esbuild: true
    caching: true
    sourcemaps: true

The sourcemap files are generated under .webpack, but error messages still reference the transpiled code directly. This happens both deployed on AWS, and for serverless invoke local

Switching to esbuild: false fixes the sourcemaps in both situations, but its certainly slower.

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

No branches or pull requests

1 participant