This commit is contained in:
2025-04-25 02:14:24 +08:00
parent 6827945446
commit 9eb4d06939
38 changed files with 1941 additions and 42 deletions

19
assistant/bun.config.mjs Normal file
View File

@@ -0,0 +1,19 @@
// @ts-check
// https://bun.sh/docs/bundler
// @ts-ignore
import pkg from './package.json';
// bun run src/index.ts --
await Bun.build({
target: 'node',
format: 'esm',
entrypoints: ['./src/index.ts'],
outdir: './dist',
naming: {
entry: 'assistant.mjs',
},
define: {
ENVISION_VERSION: JSON.stringify(pkg.version),
},
env: 'ENVISION_*',
});