Files
code-tokenizer/build.ts
Geoff Seemueller 337e882767 Switch from Bun's Glob to glob package for file operations
Replaced Bun's `Glob` usage with the `glob` package in `MarkdownGenerator.ts` for better compatibility and functionality. Updated build entrypoints to include all TypeScript files and adjusted dependencies in `package.json` and `pnpm-lock.yaml` to accommodate this change. Also added type annotations to `fileExclusions` and `fileTypeExclusions` for improved type checking.
2024-12-01 11:41:24 -05:00

14 lines
304 B
TypeScript

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