about summary refs log tree commit diff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/webpack/shared.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/config/webpack/shared.js b/config/webpack/shared.js
index 1d75e2af2..12e05dec2 100644
--- a/config/webpack/shared.js
+++ b/config/webpack/shared.js
@@ -53,6 +53,12 @@ module.exports = {
           // be loaded together
           return false;
         }
+
+        if (module.resource && /node_modules\/font-awesome/.test(module.resource)) {
+          // extract vendor css into common module
+          return true;
+        }
+
         return count >= 2;
       },
     }),