You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be useful to specify multiple directories in viteResources for a couple reasons:
For projects like my own that are broken up into multiple sub-projects, it is useful to be able to import common source directories in addition to project-specific ones
It allows using the scala directory structure for other source types without having to specify a common parent directory which includes Scala source code. E.g.,
In the above directory structure, we would want to include vite-resources, src/main/javascript, and src/main/styles without also including a bunch of other things.
The text was updated successfully, but these errors were encountered:
I can see how this is useful, and it should be quite easy to implement. I think we can proceed with it if we keep it as simple as possible - that is just have viteResourcesDirectories as SettingKey[Set[sbt.File]] and just loop over those and call copyChanges in viteCopyResources. If we want more than that, then viteCopyResources probably needs to start using fileInputs.
Agreed, but I recommend using Seq instead of set, as the order of copying may matter (e.g., if you intend to overwrite certain files with the same name)
It would be useful to specify multiple directories in
viteResources
for a couple reasons:In the above directory structure, we would want to include
vite-resources
,src/main/javascript
, andsrc/main/styles
without also including a bunch of other things.The text was updated successfully, but these errors were encountered: