@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.
Files changed (2) hide show
  1. package/dist/index.cjs +4 -0
  2. 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",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mercurjs/dashboard-sdk",
3
- "version": "2.1.2-canary.3",
3
+ "version": "2.1.2-canary.5",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/mercurjs/mercur",