0
0
Fork 0

Fix emoji-mart crashing web UI on search by reverting the upgrade to 2.10.0 (#10413)

Fix #10315

This reverts commit db06b25376.
This commit is contained in:
Eugen Rochko 2019-03-30 01:41:35 +01:00 committed by GitHub
parent 79227d153b
commit 8fb69f1366
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 24 additions and 82 deletions

View file

@ -11,16 +11,7 @@ module.exports = {
options: {
babelrc: false,
plugins: [
[
'transform-react-remove-prop-types',
{
mode: 'remove',
removeImport: true,
additionalLibraries: [
'../../utils/shared-props', // emoji-mart
],
},
],
'transform-react-remove-prop-types',
],
cacheDirectory: join(settings.cache_path, 'babel-loader-node-modules'),
cacheCompression: env.NODE_ENV === 'production',