Description
I am porting an internal web extension build system from Webpack to esbuild. Since we publish our web extension on addons.mozilla.org, we are required to provide the full source code for our extension in a manner that a Mozilla contractor can use to perform a from-scratch build that will byte-for-byte match the release artifact built from our CI environment.
The Sentry Webpack plugin uses the chunk hash as the input for the debug ID snippet generation function, resulting in the same debug ID for the same build inputs:
sentry-javascript-bundler-plugins/packages/webpack-plugin/src/index.ts
Lines 110 to 111 in fe6169b
The Sentry esbuild plugin, however, uses a unique UUID as the input, resulting in a different debug ID for the same build inputs:
This breaks the determinism of our web extension build as the resulting build outputs have different debug IDs embedded within them.
I'd like to request that the esbuild plugin produce deterministic debug IDs based on the build inputs.
Metadata
Metadata
Assignees
Type
Projects
Status