From 70eb97f953b007788f56717a5976b249e9c5b959 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 11 Jun 2026 03:41:23 +0000 Subject: [PATCH] Apply remaining changes --- global.d.ts | 4 +++- tsconfig.json | 6 ++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/global.d.ts b/global.d.ts index 32c3dcd..15bba7d 100644 --- a/global.d.ts +++ b/global.d.ts @@ -1,4 +1,6 @@ declare module '*.module.css' { const classes: { [key: string]: string }; export = classes; -} \ No newline at end of file +} + +declare module '*.css' {} \ No newline at end of file diff --git a/tsconfig.json b/tsconfig.json index 0ff488b..b4fffed 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -3,13 +3,15 @@ "target": "ES2020", "module": "ESNext", "jsx": "react-jsx", - "moduleResolution": "node", + "moduleResolution": "bundler", "allowJs": true, "esModuleInterop": true, "strict": true, "skipLibCheck": true, "outDir": "./dist", + "rootDir": "./src/js/react", "lib": ["es2022", "dom"] }, - "include": ["src/js/react/**/*", "**/*.d.ts"] + "include": ["src/js/react/**/*", "**/*.d.ts"], + "exclude": ["src/js/react/**/__tests__/**", "**/*.test.ts", "**/*.test.tsx", "**/*.spec.ts", "**/*.spec.tsx"] }