Support multiple static asset dirs by allowing string arrays for config.kit.files.assets
#5115
Labels
feature / enhancement
New feature or request
Milestone
Describe the problem
I'd like to get static assets from multiple locations. In this example the SvelteKit site is inside the
site/
directory as part of a bigger project and I'd like to use static assets fromassets/
andsite/static/
.Describe the proposed solution
config.kit.files.assets
could support arrays:This currently raises
Alternatives considered
Create an alias of
assets/
insite/static/
. It works but feels hacky.Importance
nice to have
Additional Information
No response
The text was updated successfully, but these errors were encountered: