We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dc1f3fa commit 128c9b0Copy full SHA for 128c9b0
src/command/render/project.ts
@@ -460,6 +460,16 @@ export async function renderProject(
460
// Expand the resources into the format aware targets
461
// srcPath -> Set<destinationPaths>
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
473
projResults.files.forEach((file) => {
474
const formatOutputDir = projectFormatOutputDir(
475
file.format,
0 commit comments