[Flight] Move Flight DOM to a Webpack Specific Package (#17372)

* Move Flight DOM to Webpack Specific Packagee

We'll have Webpack specific coupling so we need to ensure that it can be
versioned separately from various Webpack versions. We'll also have builds
for other bundlers in the future.

* Move to peerDep

* Move DOM Flight Tests

* Merge ReactFlightIntegration into ReactFlightDOM

This was an integration test. We can add to it.

* Fix fixture paths
This commit is contained in:
Sebastian Markbåge
2019-11-15 11:46:07 -08:00
committed by GitHub
parent 532810a370
commit 39dbb14da3
33 changed files with 177 additions and 148 deletions

View File

@@ -12,8 +12,8 @@ module.exports = [
entryPoints: [
'react-dom',
'react-dom/unstable-fizz.node',
'react-dom/unstable-flight-server.node',
'react-dom/unstable-flight-client',
'react-flight-dom-webpack/server.node',
'react-flight-dom-webpack',
],
isFlowTyped: true,
isServerSupported: true,
@@ -22,8 +22,8 @@ module.exports = [
shortName: 'dom-browser',
entryPoints: [
'react-dom/unstable-fizz.browser',
'react-dom/unstable-flight-server.browser',
'react-dom/unstable-flight-client',
'react-flight-dom-webpack/server.browser',
'react-flight-dom-webpack',
],
isFlowTyped: true,
isServerSupported: true,