Replies: 1 comment
-
|
I'm having the same problem. Have you found anything? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Currently, I use Vite to build my library and looking forward to switching to Bun.
In Vite I have a
srcdirectory with code and assets needs to be bundled/minified and alsopublicdirectory for static assets: css, images, fonts and some json files that should not be transformed in any way and copied into build as-is.But after glancing at Bun docs, I cannot find any equivalent of
publicDirconfig parameter. How can I handle static assets with Bun.Build?Vite docs reference: https://vitejs.dev/config/shared-options.html#publicdir
Beta Was this translation helpful? Give feedback.
All reactions