Description
Describe the problem
#2675 updated the prerender
function to return a list of prerendered files. However, this list was not returned from the prerender function called from the adapter utils. See the code below: the internal prerender
is called, but its return value is not used. This means the adapter can't access it.
kit/packages/kit/src/core/adapt/utils.js
Lines 33 to 43 in 3acdf93
I think this was missed since #2674 did return the list of copied files from the adapter utils, but let me know if it was intentional.
Describe the proposed solution
Return the list of prerendered files from the adapter utils. This will allow adapter authors to know what files have been prerendered.
Alternatives considered
No response
Importance
nice to have
Additional Information
I maintain the Azure SWA adapter, and want to know if index.html
was prerendered or not.