An open API service indexing awesome lists of open source software.

https://github.com/hungtcs/typescript-plugin-file-replacement

typescript transformer plugin to replace file content
https://github.com/hungtcs/typescript-plugin-file-replacement

Last synced: over 1 year ago
JSON representation

typescript transformer plugin to replace file content

Awesome Lists containing this project

README

          

Typescript Plugin File Replacement
====

**this plugin replace file content instead of import path.**

### Usage

```jsonc
{
"compilerOptions": {
"plugins": [
{
"transform": "typescript-plugin-file-replacement",
"replacements": [
{
"replace": "src/dev.env.ts",
"with": "src/prod.env.ts"
}
]
}
]
}
}
```