jhipster-vuejs
jhipster-vuejs copied to clipboard
Webpack build: need improvements
Following @atomfrede's comment and discussion at https://github.com/jhipster/jhipster-vuejs/issues/618#issuecomment-631338202
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:

After:

Woah that's huge. Is that a production build? Can you measure if the bundle size has decreased maybe (for longer build times)?
@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):
- old version of jhipster-vuejs: https://github.com/jhipster/jhipster-control-center/tree/backup-before-upgrade-6.9.0
- new version: https://github.com/jhipster/jhipster-control-center/tree/master
So we have a real project and we can compare
Here some screenshots to compare bundle size. Left = new version, right = old version



@atomfrede your PR https://github.com/jhipster/jhipster-vuejs/pull/621 fixes the bug ?
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.