about summary refs log tree commit diff
path: root/config
diff options
context:
space:
mode:
authorNolan Lawson <nolan@nolanlawson.com>2019-03-16 12:13:15 -0700
committerEugen Rochko <eugen@zeonfederated.com>2019-03-16 20:13:15 +0100
commitdb06b25376ac7e844e86fb9890fa9f1c2edd2d60 (patch)
treeb387deeb26bbbf05e7b8e470436cd00f91afe20f /config
parent6a3f08661f8d23e5f93717f36df1463842bfd936 (diff)
fix: update to emoji-mart 2.10.0 (#10281)
* fix: update to emoji-mart 2.10.0

* remove useless change

* fix CSS style of emoji picker, improve a11y

* fix missing newline in scss

* fix the title and input fonts
Diffstat (limited to 'config')
-rw-r--r--config/webpack/rules/node_modules.js11
1 files changed, 10 insertions, 1 deletions
diff --git a/config/webpack/rules/node_modules.js b/config/webpack/rules/node_modules.js
index 7ed05504b..5debc1b5d 100644
--- a/config/webpack/rules/node_modules.js
+++ b/config/webpack/rules/node_modules.js
@@ -11,7 +11,16 @@ module.exports = {
       options: {
         babelrc: false,
         plugins: [
-          'transform-react-remove-prop-types',
+          [
+            'transform-react-remove-prop-types',
+            {
+              mode: 'remove',
+              removeImport: true,
+              additionalLibraries: [
+                '../../utils/shared-props', // emoji-mart
+              ],
+            },
+          ],
         ],
         cacheDirectory: join(settings.cache_path, 'babel-loader-node-modules'),
         cacheCompression: env.NODE_ENV === 'production',