I can't quite figure out how to use the profiling build. I aliased `react-dom` to `react-dom/profiling` but I get this error:

<img width="448" alt="screen shot 2018-09-08 at 20 17 02" src="https://user-images.githubusercontent.com/810438/45257816-2d405780-b3a4-11e8-9615-0b27abd0442b.png">
<img width="272" alt="screen shot 2018-09-08 at 20 17 06" src="https://user-images.githubusercontent.com/810438/45257817-2d405780-b3a4-11e8-8a08-f5a0650debfe.png">

I didn't want interactions, I just want profiling. What am I doing wrong?

To repro, use CRA, then eject, then add `react-dom` -> `react-dom/profiling` to alias in webpack prod config and build.
return fn(a, b, c, d);
  } finally {
    expirationContext = previousExpirationContext;
  }
}
let firstScheduledRoot: FiberRoot | null = null;
let lastScheduledRoot: FiberRoot | null = null;
let callbackExpirationTime: ExpirationTime = NoWork;
let callbackID: *;
let isRendering: boolean = false;
let nextFlushedRoot: FiberRoot | null = null;
let nextFlushedExpirationTime: ExpirationTime = NoWork;
let lowestPriorityPendingInteractiveExpirationTime: ExpirationTime = NoWork;
let deadlineDidExpire: boolean = false;
let hasUnhandledError: boolean = false;
let unhandledError: mixed | null = null;
let deadline: Deadline | null = null;
let isBatchingUpdates: boolean = false;
let isUnbatchingUpdates: boolean = false;
let isBatchingInteractiveUpdates: boolean = false;
let completedBatches: Array<Batch> | null = null;
let originalStartTimeMs: number = now();
let currentRendererTime: ExpirationTime = msToExpirationTime(
  originalStartTimeMs,
);
let currentSchedulerTime: ExpirationTime = currentRendererTime;
 Use these to prevent an infinite loop of nested updates
const NESTED_UPDATE_LIMIT = 50;
let nestedUpdateCount: number = 0;
let lastCommittedRootDuringThisBatch: FiberRoot | null = null;