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:
		@@ -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',
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user