sachs
12/25/2025, 8:33 PMUnable to preload CSS for /assets/pdf-viewer.css
Error: Unable to preload CSS for /assets/pdf-viewer.css
at HTMLLinkElement.<anonymous> (https://file+.vscode-resource.vscode-cdn.net/Users/ben/.cursor/extensions/boundary.baml-extension-0.215.2-darwin-arm64/dist/playground/dist/assets/index.js:21:3224)
Details:
- Extension version: 0.215.2
- Editor: Cursor (VS Code fork)
- OS: macOS 25.1.0 (darwin-arm64)
- Error location: Playground webview fails to load due to CSS preload error
What's happening:
The playground webview is trying to preload /assets/pdf-viewer.css but failing, which prevents the entire playground from loading. This looks like a webview resource URI issue - the CSS file path probably isn't being properly converted using webview.asWebviewUri() or the file isn't accessible at that path.
Impact:
BLOCKING - The playground is unusable. Can't test BAML functions with PDF inputs at all,
Steps to reproduce:
1. Open a BAML file with PDF inputs (e.g., function ExtractPaperContent(paper: pdf))
2. Try to open the playground
3. Playground fails to load
4. Check browser console (Developer Tools) - see the CSS preload error
Workaround:
None that I've found. Tried reloading window, reinstalling extension, clearing cache - nothing works.aaronv (BAML)
12/25/2025, 8:33 PMsachs
12/25/2025, 8:34 PMsachs
12/25/2025, 8:34 PMsachs
12/25/2025, 8:36 PMUnable to preload CSS for /assets/pdf-viewer.css
Error: Unable to preload CSS for /assets/pdf-viewer.css
at HTMLLinkElement.<anonymous> (https://file+.vscode-resource.vscode-cdn.net/Users/ben/.cursor//boundary.baml-extension-0.215.0-darwin-arm64/dist/playground/dist/assets/index.js:21:3224)sachs
12/25/2025, 8:38 PMaaronv (BAML)
12/25/2025, 8:49 PMaaronv (BAML)
12/25/2025, 8:49 PMaaronv (BAML)
12/25/2025, 8:49 PMsachs
12/25/2025, 8:51 PMaaronv (BAML)
12/25/2025, 8:52 PMsachs
12/25/2025, 8:56 PMAntonio Sarosi (BAML 🐑)
12/28/2025, 1:56 AMsachs
12/28/2025, 9:59 PMAntonio Sarosi (BAML 🐑)
12/29/2025, 1:33 AMaaronv (BAML)
12/29/2025, 7:12 PM