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
By default, the CLI injects debugIDs to files with extensions: .js, .mjs, .cjs
--ext <EXT> Set the file extensions of JavaScript files that are considered
for injection. This overrides the default extensions (js, cjs,
mjs). To add an extension, all default extensions must be
repeated. Specify once per extension. Source maps are
discovered via those files.
But the upload command only upload files ending in .js, .map, .jsbundle and .bundle:
--ext <EXT>
Set the file extensions that are considered for upload. This overrides the default
extensions. To add an extension, all default extensions must be repeated. Specify once per
extension.
Defaults to: `--ext=js --ext=map --ext=jsbundle --ext=bundle`
In cases where the minified files ends with .mjs or .cjs, the CLI will upload only source maps, as a result source map processing will fail due to missing minified files.
Activity
szokeasaurusrex commentedon Feb 27, 2024
Thanks for reporting this, looks like it should probably be a relatively simple fix
fix(sourcemaps): Add `.cjs` and `.mjs` to default `sourcemaps upload`…