Replies: 1 comment 1 reply
-
if someone wants a reply to this question I am replying to my own question.
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I got a folder with many pictures.
I'd like to allow the app to access these image when I run "vite" in dev mode.
I manage to make this work by adding this line in my config.
publicDir: '../..',
It is probably not the right way of doing it because then
vite build
is trying to put all my pictures in a bundle.Is there a way to make a proxy to a folder ?
server: { proxy: { '/pictures': { target: 'd:\pictures\' } } }
I have been trying to find this in the documentation and the sample but without success so far.
Beta Was this translation helpful? Give feedback.
All reactions