title: Using dotenv with bundled client side code
body: <p>I am creating a node js application as a Contentful UI Extension. The code is hosted here: <a href="https://github.com/doodybrains/media-tagging-extension" rel="nofollow noreferrer">https://github.com/doodybrains/media-tagging-extension</a></p>
  
  <p>A lot of the gulp file is boiler plate but in the end everything gets bundled into an <code>index.html</code> file. I know that env variables shouldn't be called or processed in the client code but I don't know how to get them in there before the project is built. When I run the repo in development and call <code>process.env.NAME_OF_TOKEN</code> from <code>src/index.js</code> it returns <code>undefined</code>. I have tried import dotenv, creating a gulp env pipeline etc. </p>
  
  <p>ANY ADVICE will be so helpful. The app is being deployed to Netlify and I already have the env variables set up there as well.</p>
  
  <p>thank you</p>