Files
code-tokenizer/build.ts
Geoff Seemueller b10b9085b2 Update build process and bump version
Removed CLI entrypoint from main build file and created a separate build script for it. Adjusted corresponding configurations in `package.json` to reflect these changes, including updating version from 1.0.14 to 1.0.21.
2024-11-24 11:01:43 -05:00

14 lines
308 B
TypeScript

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