@hubspot/cms-dev-server 1.0.38 → 1.0.44

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/.DS_Store CHANGED
Binary file
@@ -10,7 +10,7 @@ import { createServer as createViteServer } from "vite";
10
10
  import { createRequire } from "module";
11
11
  import { default as react } from "@vitejs/plugin-react";
12
12
 
13
- // ../cms-js-internal/dist/types-BxnmA6nH.js
13
+ // ../cms-js-internal/dist/types-Bqf9htWu.js
14
14
  import path from "path";
15
15
  var viteRoot;
16
16
  var viteCommand;
@@ -586,7 +586,7 @@ Custom origin: ${process.env.VITE_ORIGIN}
586
586
  }
587
587
  const origin = process.env.VITE_ORIGIN ?? (sslEnabled ? `https://hslocal.net:${port}` : `http://hslocal.net:${port}`);
588
588
  const consumerDeps = getDepsForPackageIfExists(webRoot);
589
- const isProjectWithReact = consumerDeps.includes("@hubspot/cms-components");
589
+ const isProjectWithReact = consumerDeps.includes("@hubspot/cms-components") || process.env.TRANSLATE_ASSET;
590
590
  const componentsShimPlugin = isProjectWithReact ? null : cmsComponentsShimPlugin();
591
591
  const ssrAndOptimizeDep = isProjectWithReact ? {
592
592
  ssr: {