https://www.boundaryml.com logo
🟡 Configuring BAML with TypeScript Monorepo
# questions
e
Hey everyone, looking to adopt BAML in our TypeScript project. Any recommendations on how to configure it with a TypeScript monorepo? Docs talks about top-level folders but I would prefer to potentially isolate the client and export it from a shared package
a
You can export the generated files to a common package using the output_dir config in the generator block. Theyre just regular typescript files. All you need is for that package to use @boundaryml/baml as a dependency