Open khusamov opened 2 years ago
I made something work for me with a link:./parcel-transformer-ttsc
in my package.json
, and a copypasta of https://github.com/parcel-bundler/parcel/tree/v2/packages/transformers/typescript-tsc with replacing typescript
with ttypescript
.
It looks like the current parcel plugin (https://github.com/cevek/ttypescript/blob/master/packages/parcel-plugin/TTypescriptAsset.js) was last updated a few years ago and is designed for Parcel version 1.
Parcel version 2 has made some major changes to its transformer plugin interface, and it would be great to be able to use ttypescript with it.
I might be able to try putting together a PR for this sometime in the next few weeks, but not sure - I'm eager to improve the
react-intl
bundling in my app without having to fall back on webpack + ts-loader or babel.