feature: bundle all modules (#9324)

This commit is contained in:
Harminder Virk
2024-09-30 12:34:03 +05:30
committed by GitHub
parent a4fc9d6e0b
commit a578313db9
81 changed files with 640 additions and 226 deletions
+2 -2
View File
@@ -34,7 +34,6 @@
"@swc/jest": "^0.2.36",
"@types/express": "^4.17.21",
"awilix": "^8.0.1",
"bignumber.js": "^9.1.2",
"expect-type": "^0.20.0",
"express": "^4.21.0",
"jest": "^29.7.0",
@@ -49,6 +48,7 @@
"@graphql-tools/merge": "^9.0.7",
"@graphql-tools/schema": "^10.0.6",
"@medusajs/types": "^1.11.16",
"bignumber.js": "^9.1.2",
"dotenv": "^16.4.5",
"dotenv-expand": "^11.0.6",
"graphql": "^16.9.0",
@@ -63,7 +63,7 @@
"@mikro-orm/migrations": "5.9.7",
"@mikro-orm/postgresql": "5.9.7",
"awilix": "^8.0.1",
"bignumber.js": "^9.1.2",
"express": "^4.21.0",
"pg": "^8.13.0"
},
"scripts": {
@@ -1,5 +1,9 @@
export function resolveExports(moduleExports) {
if ("default" in moduleExports && "default" in moduleExports.default) {
if (
"default" in moduleExports &&
moduleExports.default &&
"default" in moduleExports.default
) {
return resolveExports(moduleExports.default)
}
return moduleExports