You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(bundler-plugins): Files with glob characters in their path are not uploaded #25321
When sourcemaps.assets is not set, the bundler plugin does not upload emitted files whose path contains glob characters. It also does not upload their source maps. The plugin does not log a warning.
Because these chunks are not uploaded, Sentry cannot symbolicate errors in them.
Root cause
writeBundle finds the emitted files with a glob (packages/bundler-plugins/src/rollup/index.ts). The result is a list of literal file paths.
uploadSourcemaps gives these paths to globFiles again, as patterns (packages/bundler-plugins/src/core/build-plugin-manager.ts, globAssets = buildArtifactPaths).
In a pattern, [...] is a character class, so the path does not match itself. The file is dropped.
Possible fix
Do not glob the detected paths again. Use them as they are and apply sourcemaps.ignore to them, or escape them with glob.escape() first. A user-supplied sourcemaps.assets must still be globbed.
Tests
Remove the TODO exemption debugIdsOfFilesWithGlobCharacters in these files:
Activity
linear-code commentedon Oct 13, 2026
JS-3923
fix(bundler-plugins): upload literal artifact paths