Files
manifold-workflow-engine/build.ts
Geoff Seemueller b96b282fec Switch build target to browser and bump version to 2.1.1
Updated the build target from Node to browser in `build.ts` to support browser environments. Incremented the package version from 2.1.0 to 2.1.1 to reflect the change.
2025-01-26 15:04:36 +00:00

14 lines
343 B
TypeScript

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