move to workspaces
This commit is contained in:

committed by
Geoff Seemueller

parent
c282d80fe0
commit
75cbd5567f
22
packages/toak/build.ts
Normal file
22
packages/toak/build.ts
Normal file
@@ -0,0 +1,22 @@
|
||||
import isolatedDecl from 'bun-plugin-isolated-decl';
|
||||
|
||||
// handles building the library
|
||||
await Bun.build({
|
||||
entrypoints: [
|
||||
"src/cli.ts",
|
||||
"src/fileExclusions.ts",
|
||||
"src/fileTypeExclusions.ts",
|
||||
"src/index.ts",
|
||||
"src/MarkdownGenerator.ts",
|
||||
"src/TokenCleaner.ts"
|
||||
],
|
||||
outdir: './dist',
|
||||
minify: true,
|
||||
target: 'node',
|
||||
splitting: true,
|
||||
plugins: [
|
||||
isolatedDecl({
|
||||
forceGenerate: true, // Generate declaration files even if there are errors
|
||||
})
|
||||
],
|
||||
});
|
Reference in New Issue
Block a user