diff --git a/fixtures/ssr/server/render.js b/fixtures/ssr/server/render.js index e0fc50f3f9538..9857a8a83dcfa 100644 --- a/fixtures/ssr/server/render.js +++ b/fixtures/ssr/server/render.js @@ -21,6 +21,7 @@ export default function render(url, res) { }); let didError = false; const {pipe, abort} = renderToPipeableStream(, { + bootstrapScripts: [assets['main.js']], onCompleteShell() { // If something errored before we started streaming, we set the error code appropriately. res.statusCode = didError ? 500 : 200; diff --git a/fixtures/ssr/src/components/Chrome.js b/fixtures/ssr/src/components/Chrome.js index c895663710560..23056dab92a4a 100644 --- a/fixtures/ssr/src/components/Chrome.js +++ b/fixtures/ssr/src/components/Chrome.js @@ -46,7 +46,6 @@ export default class Chrome extends Component { __html: `assetManifest = ${JSON.stringify(assets)};`, }} /> -