A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/coreoz/parcel-transformer-ttypescript below:

Coreoz/parcel-transformer-ttypescript: A parcel v2 TypeScript transformer to use ttypescript

Parcel Transformer Ttypescript

Disclaimer: this library is not maintained anymore. If someone wants to take it over, we will be happy to link this repo to the the new repository. We can also hand over the NPM repository.

A replacement of the standard Parcel v2 transformer Typescript to use ttypescript. This enables to use easily custom TypeScript transformers inside Parcel 2 projects.

Install the dependency:

Then inside the .parcelrc file, reference the transformer:

{
  "extends": "@parcel/config-default",
  "transformers": {
    "*.{ts,tsx}": ["parcel-transformer-ttypescript"]
  }
}

In the tsconfig.json, reference your TypeScript transformers:

{
  "compilerOptions": {
    "plugins": [
      {"transform": "./build-scripts/di-transformer-adapter.ts" },
      {"transform": "ts-transformer-classname" }
    ]
  }
}

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4