dillon1000/react
Commit
Browse files [Flight] Add webpack plugin build (#18485)
* Eject CRA from Flight We need to eject because we're going to add a custom Webpack Plugin. We can undo this once the plugin has upstreamed into CRA. * Add Webpack plugin build I call this entry point "webpack-plugin" instead of "plugin" even though this is a webpack specific package. That's because there will also be a Node.js plugin to do the server transform. * Add Flight Webpack plugin to fixture * Rm UMD builds * Transform classes * Rename webpack-plugin to plugin This avoids the double webpack name. We're going to reuse this for both server and client.
Changed paths18 files
First-parent comparisonfixtures/flight/config/env.js AddedA fixtures/flight/config/jest/cssTransform.js AddedA fixtures/flight/config/jest/fileTransform.js AddedA fixtures/flight/config/modules.js AddedA fixtures/flight/config/paths.js AddedA fixtures/flight/config/pnpTs.js AddedA fixtures/flight/config/webpack.config.js AddedA fixtures/flight/config/webpackDevServer.config.js AddedM fixtures/flight/package.json ModifiedA fixtures/flight/scripts/build.js AddedA fixtures/flight/scripts/start.js AddedA fixtures/flight/scripts/test.js AddedM fixtures/flight/yarn.lock ModifiedA packages/react-flight-dom-webpack/npm/plugin.js AddedM packages/react-flight-dom-webpack/package.json ModifiedA packages/react-flight-dom-webpack/plugin.js AddedA packages/react-flight-dom-webpack/src/ReactFlightWebpackPlugin.js AddedM scripts/rollup/bundles.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…