Skip to content

Update Libs #6

Closed
Closed
@stevensacks

Description

@stevensacks

A great many of the libs in this project are behind. I was able to update almost all of them except just a few. Working through the issues, here's what I discovered.

WebPack 4 is the biggest change since it no longer requires as much configuration. However, I don't know enough about your particular setup to know what can/should be removed from your configs so I left them alone except for two things that were required to make it run.

In the config files for dev and prod, you have to move InterpolateHtmlPlugin after HtmlWebpackPlugin ( as per jantimon/html-webpack-plugin#875 ).

You also have to add mode: 'development' to dev and mode: 'production'` to prod ( as per https://webpack.js.org/concepts/mode/ )

This version of react-dev-utils is required until the Webpack 4 upgrade PR gets merged in:
facebook/create-react-app#4466 (comment)

React can't be updated to 16.5.x until this PR is merged and released:
necolas/react-native-web#1096

React Native 0.56.0 works, but 0.57.0 won't without React 16.5 and these changes: https://github.com/react-native-community/react-native-releases/blob/master/CHANGELOG.md#updating-to-this-version

Metadata

Metadata

Assignees

No one assigned

    Labels

    Next VersionThis issue will be worked on in the next release

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions