title: gatsby ssr - add script to header before other plugins
body: <p>I am using Gatsby and need to head a script in the header BEFORE other plugin.</p>
  
  <p>If I add it via <code>gatsby-ssr.js</code> </p>
  
  <pre><code>exports.onRenderBody = ({ setHeadComponents }) =&gt; setHeadComponents([#MY-SCRIPT#]);
  </code></pre>
  
  <p>it's being added last. </p>
  
  <p>How can I add it BEFORE other plugins?</p>