chore: remove import assertion
This commit is contained in:
parent
efb6cc9132
commit
9cf88f0df6
1 changed files with 1 additions and 1 deletions
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue