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.
Solution: extend default upload extensions to .js, .mjs, .cjs, .map, .jsbundle, .bundle.
By default, the CLI injects debugIDs to files with extensions: .js, .mjs, .cjs
But the upload command only upload files ending in .js, .map, .jsbundle and .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.
Solution: extend default upload extensions to .js, .mjs, .cjs, .map, .jsbundle, .bundle.