Skip to content

Conversation

71
Copy link

@71 71 commented Aug 10, 2025

This change makes the esbuild plugin emit source maps inline (if enabled). esbuild can recognize inline source maps and uses them for the rest of the build.

build.initialOptions.sourcemap can have various values (boolean, undefined, a few string values). A simple truthy check is what we want, since false and undefined disable source maps, and all other values enable them. Whatever value is given to esbuild, we only want to output an inline source map since esbuild will post-process it anyway.

Copy link

netlify bot commented Aug 10, 2025

Deploy Preview for macaron-css canceled.

Name Link
🔨 Latest commit 060bd72
🔍 Latest deploy log https://app.netlify.com/projects/macaron-css/deploys/68984d5d300f570008dc1953

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.

1 participant