1
0
mirror of https://github.com/MisskeyIO/misskey synced 2024-12-28 13:38:41 +09:00
MisskeyIO/scripts/build-pre.js

11 lines
348 B
JavaScript
Raw Normal View History

/*
* SPDX-FileCopyrightText: syuilo and other misskey contributors
* SPDX-License-Identifier: AGPL-3.0-only
*/
const fs = require('fs');
const meta = require('../package.json');
fs.mkdirSync(__dirname + '/../built', { recursive: true });
fs.writeFileSync(__dirname + '/../built/meta.json', JSON.stringify({ version: meta.version }), 'utf-8');