temp
This commit is contained in:
		
							
								
								
									
										19
									
								
								assistant/bun.config.mjs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								assistant/bun.config.mjs
									
									
									
									
									
										Normal 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_*', | ||||
| }); | ||||
		Reference in New Issue
	
	Block a user