title: Install Sweetalert via Yarn
body: <p>I'm trying to install the library Sweetalert via Yarn, but I'm getting this error: </p>
  
  <p><code>couldn't find file 'sweetalert' with type 'application/javascript'</code></p>
  
  <p>My steps were the followed: </p>
  
  <ul>
  <li>yarn add sweetalert</li>
  <li>in application.js: <code>//= require sweetalert</code></li>
  <li><p>in application.scss:  </p>
  
  <p><code>*= require sweetalert</code></p>
  
  <p><code>*= require sweetalert/dist/sweetalert</code></p></li>
  </ul>
  
  <p>my package.json:</p>
  
  <pre><code>"dependencies": {
      "slick-carousel": "^1.8.1",
      "sweetalert": "^2.1.0"
    },
  </code></pre>
  
  <p>Am I doing something wrong? Thank you!</p>