feat(memory): release Mnemo project bridge and schema2 recovery
Official contracts and Windows source CI / windows-source (push) Has been cancelled
Official contracts and Windows source CI / windows-source (push) Has been cancelled
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import { build } from 'esbuild';
|
||||
import fs from 'node:fs';
|
||||
import { writeDataCompatibility } from './build-data-compatibility.mjs';
|
||||
// Bundled CommonJS dependencies (QR PNG encoder) still import Node builtins.
|
||||
const nodeRequire = { js: "import { createRequire as __awbCreateRequire } from 'node:module'; const require = __awbCreateRequire(import.meta.url);" };
|
||||
fs.mkdirSync('dist-server', { recursive: true });
|
||||
@@ -16,4 +17,5 @@ await build({ entryPoints: ['src/desktop/main.mjs'], outfile: 'dist-desktop/main
|
||||
platform: 'node', target: 'node24', format: 'cjs', sourcemap: false, legalComments: 'eof' });
|
||||
await build({ entryPoints: ['src/desktop/preload.cjs'], outfile: 'dist-desktop/preload.cjs', bundle: true, external: ['electron'],
|
||||
platform: 'node', target: 'node24', format: 'cjs', sourcemap: false, legalComments: 'eof' });
|
||||
console.log('Server bundle built.');
|
||||
writeDataCompatibility(process.cwd());
|
||||
console.log('Server bundle and database compatibility declaration built.');
|
||||
|
||||
Reference in New Issue
Block a user