@adopisoft/remove-if-env
Advanced tools
Comparing version 0.1.1 to 0.1.2
{ | ||
"name": "@adopisoft/remove-if-env", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "A typescript transform plugin that removes blocks of code base on Nodes.js' process.env", | ||
@@ -27,9 +27,6 @@ "main": "./dist/index.js", | ||
"homepage": "https://github.com/AdoPiSoft/remove-if-env#readme", | ||
"peerDependencies": { | ||
"ts-node": "^10.9.1", | ||
"ttypescript": "^1.5.13" | ||
}, | ||
"devDependencies": { | ||
"@types/node": "^18.11.9", | ||
"typescript": "^4.8.4" | ||
} | ||
} |
# @adopisoft/remove-if-env | ||
A `typescript` transform plugin that removes blocks of code base on Nodes.js' `process.env`. | ||
Compatible with [ts-patch](https://github.com/nonara/ts-patch)(recommended) and [ttypescript](https://github.com/cevek/ttypescript/tree/master/packages/ttypescript) | ||
@@ -9,4 +10,2 @@ --- | ||
Requires `ts-node` and `ttypescript` to be installed. | ||
With NPM: | ||
@@ -94,3 +93,3 @@ ``` | ||
This can be fixed by using additional javascript preprocessors like babel, terser or gulp. But the long term solution for this would be to | ||
This can be fixed by using additional javascript preprocessors like babel, terser or gulp. But the long term solution for this would be to | ||
remove the import statement in the AST within the transform plugin itself. | ||
@@ -97,0 +96,0 @@ |
5920
0
2
107