title: Invalid Link when building with --prod
body: <p>I am using Ionic 3.</p>
  
  <p>I am able to build and run the app without any problems using <code>ionic serve</code> or <code>ionic cordova run ios</code>.</p>
  
  <p>However, When I build the app with <code>--prod</code> flag (<code>ionic cordova run ios --prod</code>), I get a white screen after the Splash Screen. I checked the console and found out the following error:</p>
  
  <blockquote>
    <p>Error: Uncaught (in promise): invalid link: introduction-slides</p>
  </blockquote>
  
  <p>IntroductionSlides page is the very first page that I set as the rootPage in app.component.ts.</p>
  
  <p>I checked my IntroductionSlides page and made sure that I have the correct name for the page:</p>
  
  <pre><code>@IonicPage({
      name: “introduction-slides”
  })
  </code></pre>
  
  <p>I also made sure that I have introduction-slides.module.ts file.</p>
  
  <p>I have been having a real hard time trying to resolve this issue. Please know that it all works fine except when running with --prod flag.</p>
  
  <p>Note: Following are my devDependencies from package.json:</p>
  
  <pre><code>“devDependencies”: {
  “@angular/cli”: “^1.7.3”,
  “@ionic/app-scripts”: “^3.1.9”,
  “@types/googlemaps”: “^3.30.7”,
  “ionic”: “^3.20.0”,
  “typescript”: “^2.3.4”,
  “ws”: “3.3.2”
  }
  </code></pre>