Files
code-tokenizer/build.ts
Geoff Seemueller 2fb1568d97 Add Bun support and improve build process
Updated project to use Bun runtime, including changes to build and development scripts, plugin additions, and configuration updates in tsconfig.json and package.json. Enhanced README documentation and migrated source files to TypeScript.
2024-11-21 14:28:26 -05:00

13 lines
292 B
TypeScript

import isolatedDecl from 'bun-plugin-isolated-decl';
await Bun.build({
entrypoints: ['./src/cli.ts', './src/index.ts'],
outdir: './dist',
target: 'node',
plugins: [
isolatedDecl({
forceGenerate: true, // Generate declaration files even if there are errors
})
],
});