@mercurjs/dashboard-sdk 2.1.2-canary.3 → 2.1.2-canary.5
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 +4 -0
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -783,6 +783,9 @@ function mercurDashboardPlugin(pluginConfig) {
|
|
|
783
783
|
__BASE__: JSON.stringify(config.base || "/"),
|
|
784
784
|
__VENDOR_URL__: JSON.stringify(vendorAppUrl || "")
|
|
785
785
|
},
|
|
786
|
+
resolve: {
|
|
787
|
+
dedupe: ["i18next", "react-i18next", "react", "react-dom"]
|
|
788
|
+
},
|
|
786
789
|
optimizeDeps: {
|
|
787
790
|
exclude: [
|
|
788
791
|
"virtual:mercur/config",
|
|
@@ -797,6 +800,7 @@ function mercurDashboardPlugin(pluginConfig) {
|
|
|
797
800
|
"react-dom/client",
|
|
798
801
|
"react-router-dom",
|
|
799
802
|
"react-i18next",
|
|
803
|
+
"i18next",
|
|
800
804
|
"@medusajs/ui",
|
|
801
805
|
"@medusajs/dashboard",
|
|
802
806
|
"@mercurjs/client",
|