在 Makelore 构建并预检静态发布产物

This commit is contained in:
2026-08-12 21:19:39 +08:00
parent 3a80625fe2
commit 5b44864265
26 changed files with 1275 additions and 217 deletions

9
scripts/before-pack.cjs Normal file
View File

@@ -0,0 +1,9 @@
const { execFileSync } = require('node:child_process');
const { join } = require('node:path');
exports.default = async function beforePack() {
execFileSync(process.execPath, [join(__dirname, 'prepare-publish-runtime.mjs')], {
cwd: join(__dirname, '..'),
stdio: 'inherit',
});
};