hunk.code_window: }
   buildAll();
  
hunk.labels: keep keep replace
hunk.after_edit: buildAll().then((exitCode) => {
       process.exitCode = exitCode;
   });
hunk.file_path: webapp/scripts/build.js
hunk.type: replace
file: // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
  // See LICENSE.txt for license information.
  
  import {connect} from 'react-redux';
  import {bindActionCreators} from 'redux';
  import type {ActionCreatorsMapObject, Dispatch} from 'redux';
  
  import type {ActionFunc, GenericAction} from 'mattermost-redux/types/actions';
  
  import {autocompleteChannels} from 'actions/channel_actions';
  import {autocompleteUsers} from 'actions/user_actions';
  
  import DialogElement from './dialog_element';
  import type {Props} from './dialog_element';
  
  function mapDispatchToProps(dispatch: Dispatch<GenericAction>) {
      return {
          actions: bindActionCreators<ActionCreatorsMapObject<ActionFunc>, Props['actions']>({
              autocompleteChannels,
              autocompleteUsers,
          }, dispatch),
      };
  }
  
  export default connect(null, mapDispatchToProps)(DialogElement);
  