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