extensions-api
extensions-api copied to clipboard
The extension javascript files contain sourceMappingURL, but not the actual map files.
The actual extension .min.js files contain a link to the map file, but the actual map files are not bundled This makes debugging a bit trickier, and gives useless 404 errors.
example
the latest file lib/tableau.extensions.1.latest.min.js contains this line:
//# sourceMappingURL=tableau.extensions.1.9.0-pre.56.min.js.map
That implies that that file should be in the same folder, but unfortunately this doesnt exist. I've found that reference all the way back up to version 1.4.0
Please either remove that line, to remove the reference.
or add the actual map files (please doublecheck path then, the -pre.56 might not be needed)
Thank you @koesper We will get this fixed for the next release. John
@johnDance slightly offtopic, but same issue. I also see this happening in the Embedding API
https://online.tableau.com/javascripts/api/tableau.embedding.3.3.0.min.js has a reference to //# sourceMappingURL=tableau.embedding.3.3.0-pre.39.min.js.map, which doesnt exist.
Thanks. I'll alert the embedding team also. John
Still there in v1.10.0 unfortunately https://github.com/tableau/extensions-api/blob/main/lib/tableau.extensions.1.latest.min.js#L2
Yes, it is there. But the map file is now included in the release to aid in debugging needs.
Thanks @johnDance, i had expected the map file to have the same name, but this should work as well. Thanks and happy new year!