title: what are the benefits of using webpack directly instead of using angular-cli
body: <p>i am trying to add angular5 to my java project as my front-end framework.
  i check Jhipster angular2 project and some angular best practices projects on github.</p>
  
  <p>after crawling on config files on different projects i realize that for example jhipster is using webpack module bundler config files directly but other projects for example(<a href="https://wrapbootstrap.com/theme/smartadmin-responsive-webapp-WB0573SK0" rel="nofollow noreferrer">SmartAdmin Dashboard</a>) is using angular-cli as default.</p>
  
  <p>the point is angular-cli is using webpack too but it is using angular-cli.json file as a wrapper to handle and simplify webpack configuration.</p>
  
  <p>the question is </p>
  
  <ol>
  <li>what are the benefits of using webpack configuration directly instead of angular-cli and what are the differences?</li>
  <li>which one i have to use in my project?</li>
  </ol>
  
  <p>i searched about this article but i couldn't find a correct answer </p>