@embeddable.com/sdk-core 3.5.2 → 3.5.4

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.
@@ -15,8 +15,13 @@ export type EmbeddableConfig = {
15
15
  previewBaseUrl?: string;
16
16
  componentsSrc?: string;
17
17
  modelsSrc?: string;
18
+ viteConfig?: {
19
+ resolve?: {
20
+ alias?: Record<string, string>;
21
+ };
22
+ };
18
23
  };
19
- declare const _default: ({ plugins, pushBaseUrl, audienceUrl, authDomain, authClientId, errorFallbackComponent, applicationEnvironment, rollbarAccessToken, previewBaseUrl, modelsSrc, componentsSrc, }: EmbeddableConfig) => {
24
+ declare const _default: ({ plugins, pushBaseUrl, audienceUrl, authDomain, authClientId, errorFallbackComponent, applicationEnvironment, rollbarAccessToken, previewBaseUrl, modelsSrc, componentsSrc, viteConfig, }: EmbeddableConfig) => {
20
25
  core: {
21
26
  rootDir: string;
22
27
  templatesDir: string;
@@ -50,5 +55,10 @@ declare const _default: ({ plugins, pushBaseUrl, audienceUrl, authDomain, authCl
50
55
  cleanup: (config: EmbeddableConfig) => Promise<unknown>;
51
56
  validate: (config: EmbeddableConfig) => Promise<unknown>;
52
57
  })[];
58
+ viteConfig: {
59
+ resolve?: {
60
+ alias?: Record<string, string>;
61
+ };
62
+ };
53
63
  };
54
64
  export default _default;
package/lib/index.esm.js CHANGED
@@ -20953,7 +20953,7 @@ const getPreviewWorkspace = async (ctx) => {
20953
20953
  }
20954
20954
  };
20955
20955
 
20956
- var defineConfig = ({ plugins, pushBaseUrl, audienceUrl, authDomain, authClientId, errorFallbackComponent, applicationEnvironment, rollbarAccessToken, previewBaseUrl, modelsSrc = "src", componentsSrc = "src", }) => {
20956
+ var defineConfig = ({ plugins, pushBaseUrl, audienceUrl, authDomain, authClientId, errorFallbackComponent, applicationEnvironment, rollbarAccessToken, previewBaseUrl, modelsSrc = "src", componentsSrc = "src", viteConfig = {}, }) => {
20957
20957
  const coreRoot = path$1.resolve(__dirname, "..");
20958
20958
  const clientRoot = process.cwd();
20959
20959
  if (!path$1.isAbsolute(componentsSrc)) {
@@ -20999,11 +20999,12 @@ var defineConfig = ({ plugins, pushBaseUrl, audienceUrl, authDomain, authClientI
20999
20999
  applicationEnvironment: applicationEnvironment !== null && applicationEnvironment !== void 0 ? applicationEnvironment : "production",
21000
21000
  rollbarAccessToken: rollbarAccessToken !== null && rollbarAccessToken !== void 0 ? rollbarAccessToken : "5c6028038d844bf1835a0f4db5f55d9e",
21001
21001
  plugins,
21002
+ viteConfig,
21002
21003
  };
21003
21004
  };
21004
21005
 
21005
21006
  var name = "@embeddable.com/sdk-core";
21006
- var version = "3.5.2";
21007
+ var version = "3.5.4";
21007
21008
  var description = "Core Embeddable SDK module responsible for web-components bundling and publishing.";
21008
21009
  var keywords = [
21009
21010
  "embeddable",