Name the Webpack chunks (#3291)
This commit is contained in:
parent
3572138b16
commit
135bdd149e
2 changed files with 4 additions and 4 deletions
|
@ -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 => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue