diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2019-03-30 01:41:35 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-30 01:41:35 +0100 |
commit | 8fb69f1366577483f048bf4d69f610087da99cb1 (patch) | |
tree | 22e88f004fa76c9091c47d303deacc29592b1ec4 /config/webpack | |
parent | 79227d153b86144e9a8cc73f1d4045973eabc9ef (diff) |
Fix emoji-mart crashing web UI on search by reverting the upgrade to 2.10.0 (#10413)
Fix #10315 This reverts commit db06b25376ac7e844e86fb9890fa9f1c2edd2d60.
Diffstat (limited to 'config/webpack')
-rw-r--r-- | config/webpack/rules/node_modules.js | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/config/webpack/rules/node_modules.js b/config/webpack/rules/node_modules.js index 5debc1b5d..7ed05504b 100644 --- a/config/webpack/rules/node_modules.js +++ b/config/webpack/rules/node_modules.js @@ -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', |