EsotericSoftware / spine-runtimes

2D skeletal animation runtimes for Spine.
http://esotericsoftware.com/
Other
4.43k stars 2.92k forks source link

[ts] Missing `"sourcesContent"` field in source maps #2652

Closed alvov-evo closed 1 month ago

alvov-evo commented 1 month ago

Source maps are generated for .ts files in spine-ts folder with a "inlineSourceMap": true, setting (see spine-ts/tsconfig.base.json). Since separate source map file are not meant to be generated, I suppose that the inline source map should contain a "sourcesContent" field with contents of the source .ts files, so that source maps work correctly.

This could be achieved by adding "inlineSources": true to tsconfig.base.json.