Use .mjs for ESM

This commit is contained in:
Dolan Miu
2023-09-26 22:59:32 +01:00
parent ccc391607a
commit 23a0a59454
2 changed files with 4 additions and 4 deletions

View File

@ -39,7 +39,7 @@ export default defineConfig({
}
if (d === "es") {
return "index.js";
return "index.mjs";
}
if (d === "iife") {