feat(web): add Memory Palace static viewer (#1061)
Co-authored-by: Letta <noreply@letta.com>
This commit is contained in:
5
build.js
5
build.js
@@ -16,12 +16,12 @@ const __dirname = dirname(__filename);
|
||||
const pkg = JSON.parse(readFileSync(join(__dirname, "package.json"), "utf-8"));
|
||||
const version = pkg.version;
|
||||
const useMagick = Bun.env.USE_MAGICK;
|
||||
const features = []
|
||||
const features = [];
|
||||
|
||||
console.log(`📦 Building Letta Code v${version}...`);
|
||||
if (useMagick) {
|
||||
console.log(`🪄 Using magick variant of imageResize...`);
|
||||
features.push("USE_MAGICK")
|
||||
features.push("USE_MAGICK");
|
||||
}
|
||||
|
||||
await Bun.build({
|
||||
@@ -44,6 +44,7 @@ await Bun.build({
|
||||
".md": "text",
|
||||
".mdx": "text",
|
||||
".txt": "text",
|
||||
|
||||
},
|
||||
features: features,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user