Skip to content

Commit 8b36ae8

Browse files
fix: update entrypoint in d2.config.js to point to TypeScript file
- Change entrypoint from './src/index' to './src/index.tsx' - Resolves build failure: 'Could not resolve entrypoint ./src/index' - Build system now correctly finds the converted TypeScript entry file Co-Authored-By: [email protected] <[email protected]>
1 parent 499bbb2 commit 8b36ae8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

d2.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const config = {
88
coreApp: true,
99

1010
entryPoints: {
11-
app: './src/index',
11+
app: './src/index.tsx',
1212
},
1313
};
1414

0 commit comments

Comments
 (0)