Skip to content

Commit 303f9ae

Browse files
committed
Copy rendered-items-assets.html to assets folder
1 parent 0bc4b25 commit 303f9ae

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

dotcom-rendering/scripts/deploy/build-riffraff-bundle.mjs

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,13 @@ const copyFrontendStatic = () => {
124124
},
125125
);
126126

127+
log(' - copying rendered-items-assets.html => assets');
128+
const renderedItemsAssetsHtmlJob = cpy(
129+
path.resolve(source, 'rendered-items-assets.html'),
130+
dest,
131+
{ nodir: true },
132+
);
133+
127134
log(' - copying stats => assets');
128135
const statsToAssetsJob = cpy(
129136
path.resolve(source, 'stats'),
@@ -133,7 +140,12 @@ const copyFrontendStatic = () => {
133140
},
134141
);
135142

136-
return [staticJob, distToAssetsJob, statsToAssetsJob];
143+
return [
144+
staticJob,
145+
distToAssetsJob,
146+
renderedItemsAssetsHtmlJob,
147+
statsToAssetsJob,
148+
];
137149
};
138150

139151
const copyRiffRaff = () => {

0 commit comments

Comments
 (0)