All notable changes to this project will be documented in this file. This project follows Semantic Versioning.
- Update dependencies; likely only compatible with Meteor 1.8+
- By directly using the Babel Typescript plugin instead of the preset, we no longer receive reify errors. As a result, the extra transpilation step has been removed, which greatly simplifies this plugin.
- Update Babel plugins to version 7.0.0-beta.51
- Support new version of Babel decorators plugin by passing { legacy: true } option
- Add support for
.tsignore
file in project root (using.gitignore
syntax) - Support dynamic import syntax
- Fix Babel source map issues casued by updates to Meteor Babel package
- Fix decorators not working (#3) - to use decorators please follow the installation and usage instructions here: https://www.npmjs.com/package/@babel/plugin-proposal-decorators
- Fix JSX not working (#5) - to use JSX please install and setup your
.babelrc
as usual; as an example, for React please follow the installation and usage instructions here: https://www.npmjs.com/package/@babel/preset-react
- Fix babel dependencies not being automatically installed (#1)
- Change the output file extension to .js (index.ts -> index.js) to enable directory imports
- Insert a separate compilation step to run before Meteor's babel-compiler. This is where the TypeScript compilation occurs,
because otherwise reify will throw errors when it tries to parse some TypeScript syntax such as the
as
keyword. If the user has @babel/preset-typescript in .babelrc it will no longer have any effect, because the TypeScript preset is now being invoked prior to the normal Babel compilation.
- Avoid processing declarations (
d.ts
) files
- Always use the
@babel/preset-typescript
even if it's not included in.babelrc
- Initial release