Dont use CommonJS (require, module.exports) anywhere (#24913)

This commit is contained in:
Renaud Chaput
2023-05-09 03:08:47 +02:00
committed by GitHub
parent 89269e4b71
commit 955179fc55
17 changed files with 79 additions and 41 deletions

View File

@ -1,7 +1,7 @@
// This code is largely borrowed from:
// https://github.com/missive/emoji-mart/blob/5f2ffcc/src/utils/emoji-index.js
import data from './emoji_mart_data_light';
import * as data from './emoji_mart_data_light';
import { getData, getSanitizedData, uniq, intersect } from './emoji_utils';
let originalPool = {};