Skip to content
This repository has been archived by the owner on Mar 21, 2021. It is now read-only.

Webpack build: need improvements #620

Open
pascalgrimaud opened this issue May 21, 2020 · 5 comments
Open

Webpack build: need improvements #620

pascalgrimaud opened this issue May 21, 2020 · 5 comments
Labels
enhancement New feature or request

Comments

@pascalgrimaud
Copy link
Member

Following @atomfrede's comment and discussion at #618 (comment)

See https://webpack.js.org/guides/build-performance/#specific-tooling-issues

The build time has been increased a lot.
See my screenshots - using jhipster-control-center:

Before:
Capture d’écran de 2020-05-21 10-17-58

After:
Capture d’écran de 2020-05-21 10-18-02

@atomfrede
Copy link
Member

Woah that's huge. Is that a production build? Can you measure if the bundle size has decreased maybe (for longer build times)?

@pascalgrimaud
Copy link
Member Author

@atomfrede : yes, I used mvn clean verify -Pprod -DskipTests
Ok, I'll try to compare the bundle size and provide more information here

About JHipster Control Center (JHCC):

So we have a real project and we can compare

@pascalgrimaud
Copy link
Member Author

Here some screenshots to compare bundle size.
Left = new version, right = old version

Capture d’écran de 2020-05-21 10-45-26

Capture d’écran de 2020-05-21 10-46-06

Capture d’écran de 2020-05-21 10-48-21

@pascalgrimaud pascalgrimaud added the enhancement New feature or request label May 21, 2020
atomfrede added a commit to atomfrede/jhipster-vuejs that referenced this issue May 21, 2020
@qmonmert
Copy link
Contributor

@atomfrede your PR #621 fixes the bug ?

@atomfrede
Copy link
Member

No it just makes it faster. I am not even sure we can get much faster as the default vue cli already takes very long for basically no real application code.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants