1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-07-25 15:35:14 +02:00
This commit is contained in:
kakkokari-gtyih
2026-07-05 19:20:20 +09:00
parent 750b7d1553
commit 5126161519

View File

@@ -20,13 +20,8 @@ async function loadConfig() {
return fs.readFile(configPath, 'utf-8').then(data => loadYaml(data)).catch(() => null);
}
async function copyFrontendFonts() {
await fs.cp('./packages/frontend/node_modules/three/examples/fonts', './built/_frontend_dist_/fonts', { dereference: true, recursive: true });
}
async function build() {
await Promise.all([
copyFrontendFonts(),
loadConfig().then(config => config?.publishTarballInsteadOfProvideRepositoryUrl && buildTarball()),
]);
}