# Aurelia CLI new project default Webpack configuration

**URL:** https://discourse.aurelia.io/t/aurelia-cli-new-project-default-webpack-configuration/2555
**Category:** Help Requests
**Created:** [May 15, 2019, 2:23pm UTC](https://discourse.aurelia.io/t/aurelia-cli-new-project-default-webpack-configuration/2555 "2019-05-15T14:23:33Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![alternatex](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.aurelia.io/alternatex/32/1540_2.png) [@alternatex](https://discourse.aurelia.io/u/alternatex)
#### Post date: [May 15, 2019, 2:23pm UTC](https://discourse.aurelia.io/t/aurelia-cli-new-project-default-webpack-configuration/2555/1 "2019-05-15T14:23:33Z")

</div>

I’m not a Webpack master but Aurelia’s default Webpack configuration (that is generated when using the CLI to create a new project) seems to produce a _lot_ of .js chunks. As in, more than 20 from what I can see. Any explanations on why things are set up this way by default? Do we really need every dependency to be its own chunk? Regardless of HTTP/2 multiplexing it seems that this amount of files would still negatively affect load performance.

---

<div class="post-metadata">

### Author: ![elitemike](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.aurelia.io/elitemike/32/690_2.png) [@elitemike](https://discourse.aurelia.io/u/elitemike)
#### Post date: [May 15, 2019, 4:43pm UTC](https://discourse.aurelia.io/t/aurelia-cli-new-project-default-webpack-configuration/2555/2 "2019-05-15T16:43:09Z")

</div>

I was wondering this before as well. It does seem excessive and should not be the default. I want a good example of how to make chunks of out of sections of my code

---

<div class="post-metadata">

### Author: ![bigopon](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.aurelia.io/bigopon/32/18_2.png) [@bigopon](https://discourse.aurelia.io/u/bigopon)
#### Post date: [May 15, 2019, 9:16pm UTC](https://discourse.aurelia.io/t/aurelia-cli-new-project-default-webpack-configuration/2555/3 "2019-05-15T21:16:14Z")

</div>

We are about the modify the webpack part of the CLI. You can follow & chime in the discussion here [https://github.com/aurelia/cli/issues/1098](https://github.com/aurelia/cli/issues/1098)
