diff --git a/lib/Kaba.js b/lib/Kaba.js
index <HASH>..<HASH> 100644
--- a/lib/Kaba.js
+++ b/lib/Kaba.js
@@ -466,7 +466,15 @@ class Kaba
             // resolve
             resolve: {
                 // TS is potentially added below
-                extensions: [".ts", ".tsx", ".js", ".jsx", ".json"],
+                extensions: [
+                    ".mjs",
+                    ".mjsx",
+                    ".js",
+                    ".jsx",
+                    ".ts",
+                    ".tsx",
+                    ".json",
+                ],
             },
 
             // optimization
Fix import order

To avoid some typescript compilation issues