Skip to content

Commit 716a119

Browse files
feat(vite): add tsx and jsx to default discoverable extensions
1 parent 90c7123 commit 716a119

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/vite/src/ViteConfig.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public function __construct(
2525
public string $bridgeFileName = 'vite-tempest',
2626
public string $manifest = 'manifest.json',
2727
public array $entrypoints = [],
28-
public array $discoverableExtensions = ['ts', 'js', 'css'],
28+
public array $discoverableExtensions = ['ts', 'tsx', 'js', 'jsx', 'css'],
2929
) {}
3030

3131
public function addEntrypoint(string $path): void

0 commit comments

Comments
 (0)