Skip to content

0.9.0

Latest
Compare
Choose a tag to compare
@theseanl theseanl released this 16 Aug 22:13
· 9 commits to master since this release
  • 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 via import and export statements. Disclaimer it does not preserve entry file's export 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.