Replies: 3 comments
-
Same question, also coming from snowpack. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I have got this, for the time being: server: {
proxy: {
'/bower_component': {
rewrite: (path) => path
},
} |
Beta Was this translation helpful? Give feedback.
0 replies
-
I wrote a library that supports multiple shared folders. You can see the library here, and the documentation here. Does it help you? |
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
-
Is there a way to serve more than one static directory? In my case I have a monorepo with a shared/public directory that I'd like served (e.g.
/shared/fonts/inter.ttf
) as well as the public dir. Snowpack has a mount feature for this. Any equivalent in Vite?Beta Was this translation helpful? Give feedback.
All reactions