Create-react-app: Upgrade to webpack 3

Created on 20 Jun 2017  路  8Comments  路  Source: facebook/create-react-app

Webpack 3 has released.

This article by @TheLarkinn highlight new features in this release of webpack.


I updated on my local machine and ran on default app.

screen shot 2017-06-20 at 11 01 08
screen shot 2017-06-20 at 11 03 48

This is a pretty straight upgrade, no change in the config. The only thing hindering is chunck.modules has been deprecated and is used by extract-text-plugin, thus throws a depreciation warning.
https://github.com/webpack-contrib/extract-text-webpack-plugin/issues/494

proposal

Most helpful comment

Just to set expectations, we won't be in any rush to upgrade to webpack 3 until it has been battle tested for some time.

All 8 comments

uglifyjs-plugin is moved into separate repository

I don't think babili is ready yet, but hopefully this would be a step in that direction.

Just to set expectations, we won't be in any rush to upgrade to webpack 3 until it has been battle tested for some time.

@Timer Sure, i was just pointing out it released and has straight upgrade path, though definitely would have to wait for a while, as some plugins have issues.

Did you have the ModuleConcatenationPlugin plugin enabled in this test @shrynx?

@ianschmitz yes i did, but since this is a tiny app (default), you don't see size getting affected much.

Facing the same problem

extract-text-webpack-plugin released v3.0.0 a few hours ago. webpack 3 is now supported.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

AlexeyRyashencev picture AlexeyRyashencev  路  3Comments

alleroux picture alleroux  路  3Comments

ap13p picture ap13p  路  3Comments

fson picture fson  路  3Comments

jnachtigall picture jnachtigall  路  3Comments