Skip to content

Commit

Permalink
Add extensions to a few server-side imports.
Browse files Browse the repository at this point in the history
GitOrigin-RevId: 600d2e5e6cbd5a3083b0c7e380cf2c2046a0fa5b
  • Loading branch information
cpojer committed Dec 27, 2024
1 parent 9754137 commit 9ea7c8f
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions codegen/generate-graphql.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,13 @@ if (files.length) {
writeFileSync(
outputFile,
sign(
await format(`${files.map((name) => `import './${name}';`).join('\n')}`, {
filepath: outputFile,
singleQuote: true,
}),
await format(
`${files.map((name) => `import './${name}.tsx';`).join('\n')}`,
{
filepath: outputFile,
singleQuote: true,
},
),
),
);
} else {
Expand Down

0 comments on commit 9ea7c8f

Please sign in to comment.