-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
If files.assets === 'public'
, Vite copies the directory's contents
#587
Comments
Not sure if it's the same issue, but I saw @GrygrFlzr filed vitejs/vite#2587 about Vite's public directory as well |
Hi, this issue is the cause for an annoying workflow/bug with the Firebase adapter. The adapter reads the user's
Is it possible for my adapter to specifically disable this Vite config or should we disable it within SvelteKit, because it is causing a conflict for my use case? |
The current workaround for the Firebase adapter is documentation to users to add
Again, the default value is |
I am also running into this issue. Is there an official workaround or fix planned? |
I was able to work around this issue by setting the following in const config = {
// ...
kit: {
// ...
vite: {
publicDir: false,
},
},
}; Would it make sense for SvelteKit to set |
Shouldn't this be resolved in latest When I place static files in SvelteKit
I still have to manually set the vite setting and restart SvelteKit.
Update: It seems I need to add it only for
|
This potentially conflicts with our own static asset handling
The text was updated successfully, but these errors were encountered: