Question: I'm looking into webpack and also angular-cli, and even though angular-cli is supposed to use webpack, I can't see any `webpack.config.js` file when I create a new project with `ng new`

Does anybody know how does this work in angular-cli?

Answer: 
You can use [`$ ng eject`](https://github.com/angular/angular-cli/wiki/eject) to generate webpack.config.js in the root folder of your project.
It's not possible to edit webpack in angular-cli project.  

There is a workaround repo. Hope this might help. [here](https://github.com/sharma02gaurav/es6-basecamp-ng2-weback). Or you can use a scaffolder too if you do it too often <https://www.npmjs.com/package/es6-scaffolder>. Just choose the angular 2 webpack scaffold from the options.