Generator-jhipster: Update to webpack 4

Created on 29 Jan 2018  Â·  12Comments  Â·  Source: jhipster/generator-jhipster

Webpack 4 beta is out and release is planned in a month. It brings in lot of performance improvement and simplified config. Would be nice to have for v5 on both Angular and React

Work should start once we make master v5 branch

Most helpful comment

All 12 comments

@sendilkumarn as a webpack contributor, I think you are the best person to do this. Can I assign this to you?

ofcourse yes. I am actually waiting for our plugin's migration.

I tried to upgrade without success, too many plugins are not yet upgraded as @sendilkumarn said :(

lets wait then

Thanks & Regards,
Deepu

On Fri, Feb 9, 2018 at 11:31 PM, William Marques notifications@github.com
wrote:

I tried to upgrade without success, too many plugins are not yet upgraded
as @sendilkumarn https://github.com/sendilkumarn said :(

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jhipster/generator-jhipster/issues/7055#issuecomment-364588366,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABDlF0J9x5yOwv7kTdKs1O8sLsJ2L7bhks5tTMc3gaJpZM4RwMRH
.

I check this tonight !

@wmarques I will create a PR.

We need to change the webpack-dev-server to all new and shiny webpack-serve

then we are good to go, I guess

I'm eager to see the perf improvement!

well in dev we get around 1-3s faster builds
on prod, it is around 3-4s
(it varies wildly between builds, there will be some corner cases I think)

OTOH, would love to see what @deepu105 's laptop is showing 😉 😛

Webpack was claiming upto 80% increase in speed. Thats a bit disappointing

And on my yarn test on my project I went from 150 seconds to 180 seconds :-(

And we also don't gain anything in Travis, in fact the master branch looks a bit slower -> so Spring Boot 2 + Webpack 4 don't make us gain anything, it's a bit disappointing, indeed

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dronavallisaikrishna picture dronavallisaikrishna  Â·  3Comments

Steven-Garcia picture Steven-Garcia  Â·  3Comments

sdoxsee picture sdoxsee  Â·  4Comments

RizziCR picture RizziCR  Â·  3Comments

pascalgrimaud picture pascalgrimaud  Â·  4Comments