From c8f51a2ade02bc9c871379b1cb6ee44c658b33f4 Mon Sep 17 00:00:00 2001 From: hasparus Date: Tue, 29 Mar 2022 18:21:12 +0200 Subject: [PATCH] Alias esbuild-register to typescript-register as `interpret` doesn't know ESBuild exists See: - https://github.com/gulpjs/interpret/pull/74 - https://github.dev/webpack/webpack-cli/blob/b39dfb68fc478194c438d128ed1f7232a5346a1c/packages/webpack-cli/src/webpack-cli.ts#L1796 --- package.json | 1 + pnpm-lock.yaml | 2 ++ 2 files changed, 3 insertions(+) diff --git a/package.json b/package.json index fc33264..320c7a1 100644 --- a/package.json +++ b/package.json @@ -26,6 +26,7 @@ "earljs": "^0.1.12", "esbuild": "^0.14.10", "esbuild-register": "^3.3.2", + "typescript-register": "npm:esbuild-register@^3.3.2", "eslint": "^7", "eslint-config-typestrict": "^1.0.2", "eslint-plugin-import": "^2.25.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index ab455a7..a0624d4 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -29,6 +29,7 @@ importers: serve: ^13.0.2 ts-loader: ^9.2.5 typescript: ^4.5.3 + typescript-register: npm:esbuild-register@^3.3.2 webpack: ^5.52.1 webpack-cli: ^4.8.0 devDependencies: @@ -57,6 +58,7 @@ importers: serve: 13.0.2 ts-loader: 9.2.6_typescript@4.5.3+webpack@5.65.0 typescript: 4.5.3 + typescript-register: /esbuild-register/3.3.2_esbuild@0.14.10 webpack: 5.65.0_3a65424d2360026ed3f4bd464ceff895 webpack-cli: 4.9.1_webpack@5.65.0