We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fcbb7f3 commit 3b3d3f1Copy full SHA for 3b3d3f1
packages/cross-import/src/index.ts
@@ -17,7 +17,7 @@ export default function crossImport(modulePath: string): any {
17
console.error(error)
18
console.log('[cross-import] fall back to sucrase runtime transform:', modulePath)
19
}
20
- return createJiti(import.meta.url, {
+ return createJiti(__dirname, {
21
cache: false,
22
debug: !!process.env.DEBUG,
23
fsCache: false,
0 commit comments