Skip to content

Commit 350b519

Browse files
authored
transform mixed esm modules
1 parent eff0c1e commit 350b519

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

vite.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ export default defineConfig({
1111
main: fileURLToPath(new URL("index.html", import.meta.url)),
1212
ac: fileURLToPath(new URL("airportcalc.html", import.meta.url))
1313
}
14-
}
14+
},
15+
commonjsOptions: { transformMixedEsModules: true }
1516
},
1617
publicDir: "media",
1718
});

0 commit comments

Comments
 (0)