From bc5da4e24f45f501ac9e0650976b1ec3476852ac Mon Sep 17 00:00:00 2001 From: Chris Manson Date: Fri, 27 Sep 2024 16:55:51 +0100 Subject: [PATCH] avoid clashing with local babel config file --- src/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/index.ts b/src/index.ts index 426e727..690657e 100644 --- a/src/index.ts +++ b/src/index.ts @@ -62,6 +62,7 @@ export async function removeTypes(code: string, prettierConfig: PrettierOptions retainLines: true, shouldPrintComment: (comment) => comment !== '___REMOVE_ME___', }, + configFile: false, }); if (!transformed || !transformed.code) {