Skip to content

Commit

Permalink
fix(server): fix compiled code that doesn't support await import (#1828)
Browse files Browse the repository at this point in the history
  • Loading branch information
HUAHUAI23 authored Jan 27, 2024
1 parent f53510c commit b23d2a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/utils/lang.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export function compileTs2js(source: string, name: string) {
removeComments: true,
inlineSourceMap: true,
},
name,
`${name}.ts`,
undefined,
name,
)
Expand Down

0 comments on commit b23d2a2

Please sign in to comment.