chore: remove import assertion

This commit is contained in:
naskya 2024-05-16 03:49:31 +09:00
parent efb6cc9132
commit 9cf88f0df6
No known key found for this signature in database
GPG Key ID: 712D413B3A9FED5C
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ await (async () => {
]);
const locales = (await import("../locales/index.mjs")).default;
const meta = (await import("../built/meta.json", { assert: { type: "json" } })).default;
const meta = JSON.parse(await fs.readFile(file("built/meta.json")));
for await (const [lang, locale] of Object.entries(locales)) {
await fs.writeFile(