Skip to content

Commit f08c065

Browse files
committed
fix(jiti): enable interopDefault by default
1 parent 83edd8a commit f08c065

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/loaders/jiti.ts

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import type { ImportxModuleInfo, ImportxOptions } from '../types'
33

44
export async function loader(info: ImportxModuleInfo, options: ImportxOptions): Promise<any> {
55
const jiti = createJiti(info.parentPath, {
6+
interopDefault: true,
67
...(info.cache === false
78
? {
89
cache: false,

0 commit comments

Comments
 (0)