Steven
09/09/2025, 11:56 PMimport type { Image, Audio, Pdf, Video } from "@boundaryml/baml" unfortunately.
I want to remove this import line. None of those types are being used.
The presence of the "@boundarml/baml" is preventing us from importing this file on the FE and thus preventing us from exporting baml types to the FE (I think webpack doesnt know how to import from that dep).
Is there a way (in the generator.baml?) to remove that import?Vaibhav (BAML 🐑)
09/09/2025, 11:58 PMVaibhav (BAML 🐑)
09/09/2025, 11:58 PMts
import type { MyType } from "baml_client"Vaibhav (BAML 🐑)
09/09/2025, 11:58 PMVaibhav (BAML 🐑)
09/09/2025, 11:58 PMSteven
09/10/2025, 12:17 AMimport type { Image, Audio, Pdf, Video } from "@boundaryml/baml"
line and failsVaibhav (BAML 🐑)
09/10/2025, 12:20 AMimport type { MyType } from "baml_client/types"Vaibhav (BAML 🐑)
09/10/2025, 12:20 AMimport type instead of just import when in frontend codeSteven
09/10/2025, 12:21 AMVaibhav (BAML 🐑)
09/10/2025, 12:22 AMaaronv (BAML)
09/10/2025, 12:52 AM