fusion-core icon indicating copy to clipboard operation
fusion-core copied to clipboard

Update check in `isSSR` function to use asset manifest

Open ganemone opened this issue 7 years ago • 3 comments

We are currently using a regular expression to match javascript files as a hack to allow viewing them in the browser. We should instead check against the asset manifest so we know exactly what file is being requested

ganemone avatar Dec 04 '17 21:12 ganemone

Related issue: #116 - merely checking asset manifest will not be sufficient to handle situations where the asset is dynamically generated or obtained from a service. A common example is PDF downloads.

lhorie avatar Jan 31 '18 21:01 lhorie

Won't do this. Will do path-based heuristic for SSR.

mlmorg avatar Mar 22 '19 21:03 mlmorg

This issue was automatically re-opened because it is referenced in a TODO.

old-fusion-bot[bot] avatar Mar 22 '19 21:03 old-fusion-bot[bot]