ttypescript icon indicating copy to clipboard operation
ttypescript copied to clipboard

parcel-plugin-ttypescript Is the module outdated?

Open khusamov opened this issue 3 years ago • 2 comments

khusamov avatar Mar 18 '22 13:03 khusamov

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.

mmcgahan avatar Aug 31 '22 04:08 mmcgahan

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.

Gurimarukin avatar Oct 28 '22 16:10 Gurimarukin