File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -460,6 +460,16 @@ export async function renderProject(
460
460
// Expand the resources into the format aware targets
461
461
// srcPath -> Set<destinationPaths>
462
462
const resourceFilesToCopy : Record < string , Set < string > > = { } ;
463
+
464
+ // Process the project resources
465
+ context . files . resources ?. forEach ( ( resource ) => {
466
+ resourceFilesToCopy [ resource ] = resourceFilesToCopy [ resource ] ||
467
+ new Set ( ) ;
468
+ const relativePath = relative ( context . dir , resource ) ;
469
+ resourceFilesToCopy [ resource ] . add ( join ( projOutputDir , relativePath ) ) ;
470
+ } ) ;
471
+
472
+ // Process the resources provided by the files themselves
463
473
projResults . files . forEach ( ( file ) => {
464
474
const formatOutputDir = projectFormatOutputDir (
465
475
file . format ,
You can’t perform that action at this time.
0 commit comments