From b96b282fec7128e665f3a0653593464823717e71 Mon Sep 17 00:00:00 2001 From: Geoff Seemueller <28698553+geoffsee@users.noreply.github.com> Date: Sun, 26 Jan 2025 10:02:36 -0500 Subject: [PATCH] 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. --- build.ts | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build.ts b/build.ts index 085084d..72497d3 100644 --- a/build.ts +++ b/build.ts @@ -4,10 +4,10 @@ import isolatedDecl from 'bun-plugin-isolated-decl'; await Bun.build({ entrypoints: ['./src/index.ts', './src/types.ts'], outdir: './dist', - target: 'node', + target: 'browser', plugins: [ isolatedDecl({ forceGenerate: true, // Generate declaration files even if there are errors }) ], -}); \ No newline at end of file +}); diff --git a/package.json b/package.json index 1ac5c71..e9e4b84 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "manifold-workflow-engine", - "version": "2.1.0", + "version": "2.1.1", "author": "seemueller-io", "type": "module", "description": "for building dynamic, LLM-driven workflows using a region-based execution model",