-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add exclude
parameter for _api/*
files
#45
Comments
I currently am trying to build my application with some png files in a "hidden" folder in Is this a similar issue? Why is Vite trying to bundle these png files? |
Could you create a small reproduction repo so that I can see what you are trying to do? |
@magne4000 Here you are: https://github.com/reusables-official/vite-vercel-debug, notes in README |
I would recommend moving the |
OK thank you I can try that. I believe my confusion is coming from a misunderstanding of Vite as a client app bundler and how it relates to Vercel's API folder/serverless functions. I wasn't aware that I could include files from the "client code" side of things in the Vercel function but given it's all just a file system I suppose it makes sense. Perhaps I'm still in the client/server paradigm which is blurred in this context. |
With sensitive default value (like ignoring .test and .spec files)
The text was updated successfully, but these errors were encountered: