title: Uncaught Error: define cannot be used indirect
body: <p>I'm using webpack and babel to transpile my es6/jsx files in a node express React app I'm making. Everything is fine until I include the <code>google spreadsheet</code> npm module and attempt to import it into my project.</p>
  
  <p>I get the error <code>Uncaught Error: define cannot be used indirect</code> but there is no define statement inside the imported module. This error only shows up in the browser, not in my console when webpack bundles my files, and completely stops anything from rendering on the page.</p>
  
  <p>I think this is something to do with AMD/Commonjs but I am too inexperienced to know for sure, or what to even do if that were the case. Any help would be appreciated</p>