From 028eec36518d5dae05c3a10e84dc3fb8a4c5e608 Mon Sep 17 00:00:00 2001 From: Andrew Bulat Date: Thu, 28 Nov 2024 04:54:08 +0000 Subject: [PATCH] Fix incorrect `moduleResolution` in `tsconfig.json` for package tests `moduleResolution` must be set to `node` as `resolveJsonModule: true` cannot be used otherwise. --- test/package/browser/template/src/tsconfig.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/package/browser/template/src/tsconfig.json b/test/package/browser/template/src/tsconfig.json index e280baa6de..b206a63995 100644 --- a/test/package/browser/template/src/tsconfig.json +++ b/test/package/browser/template/src/tsconfig.json @@ -4,7 +4,7 @@ "resolveJsonModule": true, "esModuleInterop": true, "module": "esnext", - "moduleResolution": "bundler", + "moduleResolution": "node", "jsx": "react-jsx" } }