@vercel/microfrontends 0.19.6 → 0.20.0

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.
@@ -1675,22 +1675,27 @@ function rewritesMapToArr(rewrites) {
1675
1675
  }
1676
1676
  function transform4(args) {
1677
1677
  const { next, app } = args;
1678
+ if (process.env.VERCEL_ENV && process.env.VERCEL_ENV !== "development") {
1679
+ return {
1680
+ next
1681
+ };
1682
+ }
1678
1683
  const buildBeforeFiles = () => {
1679
1684
  const rewrites = /* @__PURE__ */ new Map();
1680
1685
  if (!app.isDefault()) {
1681
1686
  rewrites.set(`/${app.getAssetPrefix()}/_next/:path+`, {
1682
1687
  destination: {
1683
- pathname: `/_next/:path+`
1688
+ pathname: "/_next/:path+"
1684
1689
  }
1685
1690
  });
1686
1691
  rewrites.set(`/${app.getAssetPrefix()}/.well-known/vercel/flags`, {
1687
1692
  destination: {
1688
- pathname: `/.well-known/vercel/flags`
1693
+ pathname: "/.well-known/vercel/flags"
1689
1694
  }
1690
1695
  });
1691
1696
  rewrites.set(`/${app.getAssetPrefix()}/_vercel/:path*`, {
1692
1697
  destination: {
1693
- pathname: `/_vercel/:path*`
1698
+ pathname: "/_vercel/:path*"
1694
1699
  }
1695
1700
  });
1696
1701
  }