function clearCompileError() {
  if (!root || currentMode !== 'compileError') {
    return;
  }

  currentCompileErrorMessage = '';
  currentMode = null;
  cleanup();
}
Clears Webpack compilation errors and dismisses the compile error overlay.
@returns {void}