apache / royale-compiler

Apache Royale Compiler
https://royale.apache.org/
Apache License 2.0
95 stars 49 forks source link

Support for inline source maps #233

Open velara3 opened 7 months ago

velara3 commented 7 months ago

In Typescript you have an option to put source maps inline in the exported js output. This is useful when you have a lot of files in the project. Basically, including source maps doubles number of files.

Example:

/project
   - MyApp.as
   - DataModel.as
   - /bin/js-debug/
      - MyApp.js
      - MyApp.js.map
      - DataModel.js
      - DataModel.js.map

More info here:

https://www.typescriptlang.org/tsconfig#inlineSourceMap