Skip to content

Commit 4b7d4cf

Browse files
authored
Merge pull request #1004 from SoprisApps/upgrade-webpack-babel-readme
update documentation for 1.0.0 release
2 parents 137c20e + e5905ff commit 4b7d4cf

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

+9
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,15 @@ Once you're hungry for more, dig into [the React Server documentation](https://r
6767
the [`react-server`](packages/react-server) code.
6868
** **
6969

70+
#### Migrating from react-server 0.8.1 to 1.0.0
71+
72+
This release is a major, potentially breaking, change which upgrades react-server's dependencies from webpack 1.x to webpack 4.x, and babel 6.x to babel 7.x.
73+
74+
If using default react-server configuration, you should be able to update to 1.0.0 without issue. However, if you have extended the default react-server webpack config using the `webpackConfig` option, you may need to update your webpack configuration options to match [Webpack 4.x Documentation](https://webpack.js.org/concepts).
75+
76+
**Note**: If you are having trouble loading css bundles in `mode = production`, try switching from `import` to `require()` syntax. https://github.com/webpack-contrib/mini-css-extract-plugin/issues/27
77+
78+
7079
#### Want to help?
7180

7281
Great! There's a lot to do!

0 commit comments

Comments
 (0)