@mercurjs/dashboard-sdk 2.0.0-canary.87 → 2.0.0-canary.89
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.cjs +3 -5
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -718,7 +718,9 @@ async function loadMedusaConfig(medusaConfigPath, root) {
|
|
|
718
718
|
break;
|
|
719
719
|
}
|
|
720
720
|
}
|
|
721
|
-
const plugins = medusaConfig?.plugins
|
|
721
|
+
const plugins = medusaConfig?.plugins?.filter(
|
|
722
|
+
(plugin) => plugin.resolve !== "@medusajs/draft-order"
|
|
723
|
+
) ?? [];
|
|
722
724
|
const pluginExtensions = resolvePluginExtensions(plugins, configDir, appType);
|
|
723
725
|
return { base, pluginExtensions };
|
|
724
726
|
} catch {
|
|
@@ -757,10 +759,6 @@ function mercurDashboardPlugin(pluginConfig) {
|
|
|
757
759
|
__BASE__: JSON.stringify(config.base || "/")
|
|
758
760
|
},
|
|
759
761
|
optimizeDeps: {
|
|
760
|
-
entries: [
|
|
761
|
-
"index.html",
|
|
762
|
-
...pluginExtensions
|
|
763
|
-
],
|
|
764
762
|
exclude: [
|
|
765
763
|
"virtual:mercur/config",
|
|
766
764
|
"virtual:mercur/routes",
|