Name the Webpack chunks (#3291)
This commit is contained in:
committed by
Eugen Rochko
parent
3572138b16
commit
135bdd149e
@ -49,7 +49,7 @@ class EmojiPickerDropdown extends React.PureComponent {
|
||||
this.setState({active: true});
|
||||
if (!EmojiPicker) {
|
||||
this.setState({loading: true});
|
||||
import('emojione-picker').then(TheEmojiPicker => {
|
||||
import(/* webpackChunkName: "emojione_picker" */ 'emojione-picker').then(TheEmojiPicker => {
|
||||
EmojiPicker = TheEmojiPicker.default;
|
||||
this.setState({loading: false});
|
||||
}).catch(err => {
|
||||
|
Reference in New Issue
Block a user