Releases: theseanl/tscc
Releases · theseanl/tscc
0.9.0
- New spec file key
"chunkFormat": "global" | "module"
has been added. It controls how output chunks reference each other; the behavior prior to this release corresponds to"global"
and is the default value. If it is set to"module"
, output chunks will be in ECMAScript module format, and will reference other chunk's declarations viaimport
andexport
statements. Disclaimer it does not preserve entry file'sexport
statements. It is only used for inter-chunk references. This feature does not yet support external modules, and tscc will throw an error if both"chunkFormat": "module"
and"external"
were used.