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.
13 lines
292 B
TypeScript
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
|
|
})
|
|
],
|
|
});
|