We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
interopDefault
1 parent 83edd8a commit f08c065Copy full SHA for f08c065
src/loaders/jiti.ts
@@ -3,6 +3,7 @@ import type { ImportxModuleInfo, ImportxOptions } from '../types'
3
4
export async function loader(info: ImportxModuleInfo, options: ImportxOptions): Promise<any> {
5
const jiti = createJiti(info.parentPath, {
6
+ interopDefault: true,
7
...(info.cache === false
8
? {
9
cache: false,
0 commit comments