@medusajs/admin-bundler 2.12.4-snapshot-20251226024319 → 2.12.4-snapshot-20251226061341
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -4
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -1317,8 +1317,6 @@ async function getViteConfig(options) {
|
|
|
1317
1317
|
const storefrontUrl = options.storefrontUrl ?? "";
|
|
1318
1318
|
const authType = process.env.ADMIN_AUTH_TYPE ?? void 0;
|
|
1319
1319
|
const jwtTokenStorageKey = process.env.ADMIN_JWT_TOKEN_STORAGE_KEY ?? void 0;
|
|
1320
|
-
const cloudAuthEnabled = process.env.EXECUTION_CONTEXT === "medusa-cloud" && process.env.MEDUSA_CLOUD_OAUTH_DISABLED !== "true";
|
|
1321
|
-
console.log("cloudAuthEnabled", cloudAuthEnabled);
|
|
1322
1320
|
const baseConfig = {
|
|
1323
1321
|
root,
|
|
1324
1322
|
base: options.path,
|
|
@@ -1345,8 +1343,7 @@ async function getViteConfig(options) {
|
|
|
1345
1343
|
__BACKEND_URL__: JSON.stringify(backendUrl),
|
|
1346
1344
|
__AUTH_TYPE__: JSON.stringify(authType),
|
|
1347
1345
|
__JWT_TOKEN_STORAGE_KEY__: JSON.stringify(jwtTokenStorageKey),
|
|
1348
|
-
__STOREFRONT_URL__: JSON.stringify(storefrontUrl)
|
|
1349
|
-
__MEDUSA_CLOUD_AUTH__: JSON.stringify(cloudAuthEnabled)
|
|
1346
|
+
__STOREFRONT_URL__: JSON.stringify(storefrontUrl)
|
|
1350
1347
|
},
|
|
1351
1348
|
server: {
|
|
1352
1349
|
fs: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@medusajs/admin-bundler",
|
|
3
|
-
"version": "2.12.4-snapshot-
|
|
3
|
+
"version": "2.12.4-snapshot-20251226061341",
|
|
4
4
|
"description": "Bundler for the Medusa admin dashboard.",
|
|
5
5
|
"author": "Kasper Kristensen <kasper@medusajs.com>",
|
|
6
6
|
"scripts": {
|
|
@@ -18,12 +18,12 @@
|
|
|
18
18
|
"package.json"
|
|
19
19
|
],
|
|
20
20
|
"devDependencies": {
|
|
21
|
-
"@medusajs/types": "2.12.4-snapshot-
|
|
21
|
+
"@medusajs/types": "2.12.4-snapshot-20251226061341"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@medusajs/admin-shared": "2.12.4-snapshot-
|
|
25
|
-
"@medusajs/admin-vite-plugin": "2.12.4-snapshot-
|
|
26
|
-
"@medusajs/dashboard": "2.12.4-snapshot-
|
|
24
|
+
"@medusajs/admin-shared": "2.12.4-snapshot-20251226061341",
|
|
25
|
+
"@medusajs/admin-vite-plugin": "2.12.4-snapshot-20251226061341",
|
|
26
|
+
"@medusajs/dashboard": "2.12.4-snapshot-20251226061341",
|
|
27
27
|
"@vitejs/plugin-react": "^4.2.1",
|
|
28
28
|
"autoprefixer": "^10.4.19",
|
|
29
29
|
"compression": "^1.8.0",
|