about summary refs log tree commit diff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/webpack/configuration.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/webpack/configuration.js b/config/webpack/configuration.js
index 9514bc547..f8741c5d8 100644
--- a/config/webpack/configuration.js
+++ b/config/webpack/configuration.js
@@ -28,7 +28,7 @@ for (let i = 0; i < themeFiles.length; i++) {
   if (!data.pack_directory) {
     data.pack_directory = dirname(themeFile);
   }
-  if (data.pack) {
+  if (data.pack && typeof data.pack == 'object') {
     themes[data.name] = data;
   }
 }