title: Using libraries for javascript with Google IDE
body: <p>I have some JS code that I would like to place in a library and use the functions in it for the creation of my HTML page.  I am using Google IDE to build a web app.  The only way I can see to create the library is to put the script in a Gdrive file, share the file to all with the fileId, include the web link to the fileID in my header and then reference the functions.  However, this doesn't seem to work.  I can't find any documents on how to include a library within the IDE (unless it is a library for the server side Apps script).  Any suggestions?</p>
  <p>My library reference in  is:</p>
  <pre><code>&lt;script src=&quot;https://drive.google.com/file/d/1chj59KuDY8OIKp9F42DYWfbmR9tYLbpm&quot;&gt;&lt;/script&gt;
  </code></pre>
  <p>I then reference a function in the library:</p>
  <pre><code>//test SunCalc library
    let dte = new Date()
    let test = SunCalc.getMoonIllumination(dte)
  </code></pre>
  <p>But I get an:</p>
  <blockquote>
  <p>userCodeAppPanel:10 Uncaught ReferenceError: SunCalc is not defined</p>
  </blockquote>