migrate build scripts to esmodules (#17071)

* chore: migrate build scripts to esmodules

* chore: do not use export default in build script
This commit is contained in:
anatawa12
2026-01-06 19:23:59 +09:00
committed by GitHub
parent f6fc78f578
commit 38b3eecc8c
6 changed files with 16 additions and 9 deletions

View File

@@ -7,7 +7,7 @@ import * as fs from 'node:fs/promises';
import * as path from 'node:path';
import { fileURLToPath } from 'node:url';
import * as yaml from 'js-yaml';
import buildTarball from './tarball.mjs';
import { buildTarball } from './tarball.mjs';
const configDir = fileURLToPath(new URL('../.config', import.meta.url));
const configPath = process.env.MISSKEY_CONFIG_YML