title: Uncaught SyntaxError: Unexpected identifier in scripts.bundle.js
body: <p>I'm using Angular 5.1.0, Node 8.9.3 and CLI 1.6.0
  I want to add rm-emoji-picker (<a href="https://www.npmjs.com/package/rm-emoji-picker" rel="nofollow noreferrer">npm</a>) to my project - it requires jQuery.</p>
  
  <p>I received message error:</p>
  
  <blockquote>
    <p>scripts.bundle.js:20371 Uncaught SyntaxError: Unexpected identifier</p>
  </blockquote>
  
  <p>it points to:</p>
  
  <pre><code>import $ from "jquery"; // ERROR MARKED THERE
  import EmojiEditor from "./EmojiEditor";
  import EmojiCategory from "./EmojiCategory";
  import Converters from "./Converters";
  import Tooltip from "rm-tooltip";
  </code></pre>
  
  <p>I tried to solve this problem using this <a href="https://stackoverflow.com/a/47979463/4955934">this</a> topic, but nothing has changed.</p>
  
  <p>My angular-cli.json looklike that:</p>
  
  <pre><code>      "styles": [
      "../node_modules/vis/dist/vis-network.min.css",
      "styles.css",
      "../node_modules/codemirror/lib/codemirror.css",
      "../node_modules/rm-emoji-picker/dist/emojipicker.css"
    ],
    "scripts": [
      "../node_modules/jquery/dist/jquery.js",
      "../node_modules/codemirror/lib/codemirror.js",
      "../node_modules/codemirror/mode/python/python.js",
      "../node_modules/rm-emoji-picker/src/js/EmojiPicker.js"
    ],
  </code></pre>