title: Node Modules returning 404 on github pages with disallowed MIME type error
body: <p>So after being happy with my website so far, I decided to use github pages for the first time.
  Once it was deployed, I noticed my cookie pop-up wasn't working. This is my first deployed project using node_modules, I've simply pushed it onto github, I'm not sure if I should of processed it someway that its usable on the web.</p>
  <p>Console errors:</p>
  <pre><code>GEThttp://www.southsideclimbing.co.uk/asset/script/node_modules/js-cookie/dist/js.cookie.mjs
  [HTTP/1.1 404 Not Found 16ms]
  
  Loading module from “http://www.southsideclimbing.co.uk/asset/script/node_modules/js-cookie/dist/js.cookie.mjs” was blocked because of a disallowed MIME type (“text/html”).
  
  Loading failed for the module with source “http://www.southsideclimbing.co.uk/asset/script/node_modules/js-cookie/dist/js.cookie.mjs”. www.southsideclimbing.co.uk:159:1
  </code></pre>
  <p>I haved used js-cookie node_module, I've read github pages doesn't node modules but you can use jekyll. _config.yml</p>
  <pre><code>lsi: false
  safe: true
  source: [&quot;.&quot;]
  incremental: false
  highlighter: rouge
  gist:
    noscript: false
  kramdown:
    math_engine: mathjax
    syntax_highlighter: rouge
  include: [&quot;node_modules&quot;]
  exclude: []
  </code></pre>
  <p>I'm not certain I've got the source: right here. I also read that github ignores node_modules, do I need to get my .gitignore to ignore this aswell?</p>