You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// index.tsimporticonfrom"./public/assets/icon.ico"with{type: "file"};import{file}from"bun";exportdefault{fetch(req){// Embedded files can be streamed from Response objectsreturnnewResponse(file(icon));},};
What version of Bun is running?
1.2.3-canary.110+32c17d865
What platform is your computer?
Microsoft Windows NT 10.0.26100.0 x64
What steps can reproduce the bug?
What is the expected behavior?
Embed the files from the directory
What do you see instead?
error: ModuleNotFound resolving "./public/**/*.png" (entry point)
Additional information
Tried the example from: https://bun.sh/docs/bundler/executables#embed-directories
The text was updated successfully, but these errors were encountered: