title: Ionic 5 + Electron
body: <p>I'm trying to start an Electron project, but running <code>ionic capacitor run electron</code> results in a blank screen with 5 console errors that say <code>GET file:///c:/runtime.js net:ERR_FILE_NOT_FOUND</code>. </p>
  
  <p>I'm pretty sure it has to do with <code>&lt;base href="/"&gt;</code> needing to be changed to <code>&lt;base href="./"&gt;</code> but I can't get the change to stick. </p>
  
  <p>If I manually change the base tag in <code>/www/index.html</code> then run <code>ionic capacitor run electron</code> the value in <code>&lt;base&gt;</code> is automatically changed back to the default. </p>
  
  <p>What's the correct way to make the change stick so I can build an Electron app?
  Steps to reproduce:</p>
  
  <pre><code>1. ionic start test blank --capacitor --type angular
  2. cd test
  3. open `/tsconfig.json` and change `target` from `es2015` to `es5`
  4. ionic build
  5. open `/www/index.html` and change `&lt;base href="/"&gt;` to &lt;base href="./"&gt;`
  6. ionic cap add electron
  7. ionic cap run electron
  </code></pre>
  
  <p>Step 7 is where <code>&lt;base&gt;</code> gets overwritten again because I see run <code>app:build</code> listed in the terminal... Any advice on how to get it to work as expected? I imagine there is a better method than manually changing code because that seems tedious in a production app</p>