From 40ff2395e44d5f821ddcd4f56d5f9a53ee99ceb1 Mon Sep 17 00:00:00 2001 From: Dan Abramov Date: Thu, 10 Dec 2020 03:55:38 +0000 Subject: [PATCH] [Flight] Prevent non-Server imports of aliased Server entrypoints (#20422) * [Flight] Prevent non-Server imports of aliased Server entrypoints * Fix Flow + await * Tighten the types --- fixtures/flight-browser/index.html | 2 +- .../src/ReactFlightWebpackNodeLoader.js | 23 +++++++++++-------- .../src/ReactFlightWebpackNodeRegister.js | 16 ++++++++----- 3 files changed, 25 insertions(+), 16 deletions(-) diff --git a/fixtures/flight-browser/index.html b/fixtures/flight-browser/index.html index c48e3e4c9e63f..ac39b6e26c6cf 100644 --- a/fixtures/flight-browser/index.html +++ b/fixtures/flight-browser/index.html @@ -19,7 +19,7 @@

Flight Example

- +