Deploying with Angular and firebase leads to blank application

After deploying to firebase with angular 2, the application just shows a blank page:

Do I need to whitelist a domain or something? There are no errors in the console so I have nothing to go on…

Here is my setup:
$ npm install --save raven-js;

This is in my app.module.ts:
import { NgModule, ErrorHandler } from '@angular/core';

import * as Raven from 'raven-js';


Raven
  .config('https://<secret>')
  .install();
// See SDK documentation for language specific usage.
Raven.config('<secret>', {
  release: '<release number>'
});

export class RavenErrorHandler implements ErrorHandler {
  handleError(err: any): void {
    Raven.captureException(err);
  }
}

I have changed the content between the < > for this post.

added this to my providers:

{ provide: ErrorHandler, useClass: RavenErrorHandler },

I’m not using any Raven commands anywhere else in the app, it’s literally just here that is breaking the site.

Note that it works on local host just fine.