From bcd32ef3a0581932435222564d0d855e34f943b3 Mon Sep 17 00:00:00 2001 From: mozafar Date: Thu, 14 Sep 2023 12:20:27 +0100 Subject: [PATCH] fix: stop build script .d.ts file extensions --- cli/src/lib/compiler/extensionHelpers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/src/lib/compiler/extensionHelpers.js b/cli/src/lib/compiler/extensionHelpers.js index 70997a0c4..68978be27 100644 --- a/cli/src/lib/compiler/extensionHelpers.js +++ b/cli/src/lib/compiler/extensionHelpers.js @@ -1,4 +1,4 @@ -const extensionPattern = /\.[jt]sx?$/ +const extensionPattern = /(? ext.replace(extensionPattern, '.js') module.exports.extensionPattern = extensionPattern