diff --git a/contributors.yml b/contributors.yml index 6c1570dbd32..b1594c454da 100644 --- a/contributors.yml +++ b/contributors.yml @@ -628,6 +628,7 @@ - vm - vmosyaykin - vorcigernix +- wahyubucil - wangbinyq - weavdale - wilcoschoneveld diff --git a/templates/vite-cloudflare/tsconfig.json b/templates/vite-cloudflare/tsconfig.json index 7e1ead6353b..a61e663a765 100644 --- a/templates/vite-cloudflare/tsconfig.json +++ b/templates/vite-cloudflare/tsconfig.json @@ -1,5 +1,12 @@ { - "include": ["**/*.ts", "**/*.tsx"], + "include": [ + "**/*.ts", + "**/*.tsx", + "**/.server/**/*.ts", + "**/.server/**/*.tsx", + "**/.client/**/*.ts", + "**/.client/**/*.tsx" + ], "compilerOptions": { "lib": ["DOM", "DOM.Iterable", "ES2022"], "types": ["@remix-run/cloudflare", "vite/client"], diff --git a/templates/vite-express/tsconfig.json b/templates/vite-express/tsconfig.json index b35e152455c..9b51f9667c9 100644 --- a/templates/vite-express/tsconfig.json +++ b/templates/vite-express/tsconfig.json @@ -1,5 +1,12 @@ { - "include": ["**/*.ts", "**/*.tsx"], + "include": [ + "**/*.ts", + "**/*.tsx", + "**/.server/**/*.ts", + "**/.server/**/*.tsx", + "**/.client/**/*.ts", + "**/.client/**/*.tsx" + ], "compilerOptions": { "lib": ["DOM", "DOM.Iterable", "ES2022"], "types": ["@remix-run/node", "node", "vite/client"], diff --git a/templates/vite/tsconfig.json b/templates/vite/tsconfig.json index b35e152455c..9b51f9667c9 100644 --- a/templates/vite/tsconfig.json +++ b/templates/vite/tsconfig.json @@ -1,5 +1,12 @@ { - "include": ["**/*.ts", "**/*.tsx"], + "include": [ + "**/*.ts", + "**/*.tsx", + "**/.server/**/*.ts", + "**/.server/**/*.tsx", + "**/.client/**/*.ts", + "**/.client/**/*.tsx" + ], "compilerOptions": { "lib": ["DOM", "DOM.Iterable", "ES2022"], "types": ["@remix-run/node", "node", "vite/client"],