title: Couldn't add Bootstrap 4, jQuery, and PopperJS libraries to .angular-cli.json
body: <p>Currently i'm trying to implement <strong>Bootstrap 4</strong> <code>navbar</code> element on my <strong>Angular 5</strong> project, and it needs three JS libraries, Bootstrap 4, jQuery, and PopperJS.</p>
  
  <p>It works <strong>flawlessly (i.e. NO ERROR occurred)</strong> when I add following to <code>src/index.html</code></p>
  
  <pre><code>&lt;head&gt;
  ...
  ...
  ...
  &lt;script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"&gt;&lt;/script&gt;
  &lt;script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"&gt;&lt;/script&gt;
  &lt;script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"&gt;&lt;/script&gt;
  &lt;/head&gt;
  </code></pre>
  
  <p><strong>However,</strong> I wanted to do an experiment by adding those <strong>three JS libraries</strong> to the <code>.angular-cli.json</code> (instead of using CDN on <code>src/index.html</code>), so I did following:</p>
  
  <p>On <code>.angular-cli.json</code>, i add:</p>
  
  <pre><code>"scripts": [
          "../node_modules/jquery/dist/jquery.slim.min.js",
          "../node_modules/popper.js/dist/popper.js",
          "../node_modules/bootstrap/dist/js/bootstrap.min.js"        
        ],
  </code></pre>
  
  <p>Note: before adding those three scripts to <code>.angular-cli.json</code> I already installed Bootstrap 4, jQuery and PopperJS packages using <code>npm</code>.</p>
  
  <p>When running it, there is an Error on console (Chrome Dev Tool)</p>
  
  <pre><code>Uncaught SyntaxError: Unexpected token export         scripts.bundle.js:2302
  </code></pre>
  
  <p>When clicking on the error message it brought to this line</p>
  
  <pre><code>export default Popper;
  </code></pre>
  
  <p>I'm kinda confused on what's happening and what's the real cause of the problem?
  How to fix this error?</p>