Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
igalklebanov committed Mar 2, 2025
1 parent a13b5c9 commit 75defcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/jiti.mts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export interface GetJitiArgs {
export async function getJiti(args: GetJitiArgs): Promise<Jiti> {
const jitiOptions = await getJitiOptions(args)

const { createJiti } = await import('jiti')
const { createJiti } = await (isDeno ? import('jiti/native') : import('jiti'))

return createJiti(import.meta.url, jitiOptions)
}
Expand Down

0 comments on commit 75defcd

Please sign in to comment.