@mercurjs/dashboard-sdk 2.0.0-canary.59 → 2.0.0-canary.60

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 +2 -1
  2. package/package.json +1 -1
package/dist/index.cjs CHANGED
@@ -544,7 +544,8 @@ function dashboardPlugin() {
544
544
  return {
545
545
  base: config.base,
546
546
  define: {
547
- "__BACKEND_URL__": JSON.stringify(config.backendUrl)
547
+ "__BACKEND_URL__": JSON.stringify(config.backendUrl),
548
+ "__BASE__": JSON.stringify(config.base || "/")
548
549
  },
549
550
  optimizeDeps: {
550
551
  exclude: ["virtual:mercur/config", "virtual:mercur/routes", "virtual:mercur/components", "virtual:mercur/menu-items", "virtual:mercur/i18n"]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mercurjs/dashboard-sdk",
3
- "version": "2.0.0-canary.59",
3
+ "version": "2.0.0-canary.60",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/mercurjs/mercur",