mirror of
https://activitypub.software/TransFem-org/Sharkey.git
synced 2024-11-16 12:46:42 +01:00
2fe86fd869
* enhance: Vite HMR while yarn dev, and more build tuning * use localhost Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
5 lines
233 B
JavaScript
5 lines
233 B
JavaScript
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');
|