@embeddable.com/sdk-core 3.5.5 → 3.7.0-next.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.
@@ -1,3 +1,4 @@
1
+ import { RollupOptions } from "rollup";
1
2
  export type EmbeddableConfig = {
2
3
  plugins: (() => {
3
4
  pluginName: string;
@@ -20,8 +21,9 @@ export type EmbeddableConfig = {
20
21
  alias?: Record<string, string>;
21
22
  };
22
23
  };
24
+ rollupOptions?: RollupOptions;
23
25
  };
24
- declare const _default: ({ plugins, pushBaseUrl, audienceUrl, authDomain, authClientId, errorFallbackComponent, applicationEnvironment, rollbarAccessToken, previewBaseUrl, modelsSrc, componentsSrc, viteConfig, }: EmbeddableConfig) => {
26
+ declare const _default: ({ plugins, pushBaseUrl, audienceUrl, authDomain, authClientId, errorFallbackComponent, applicationEnvironment, rollbarAccessToken, previewBaseUrl, modelsSrc, componentsSrc, viteConfig, rollupOptions, }: EmbeddableConfig) => {
25
27
  core: {
26
28
  rootDir: string;
27
29
  templatesDir: string;
@@ -43,6 +45,7 @@ declare const _default: ({ plugins, pushBaseUrl, audienceUrl, authDomain, authCl
43
45
  alias?: Record<string, string>;
44
46
  };
45
47
  };
48
+ rollupOptions: RollupOptions;
46
49
  };
47
50
  outputOptions: {
48
51
  typesEntryPointFilename: string;
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", viteConfig = {}, }) => {
20956
+ var defineConfig = ({ plugins, pushBaseUrl, audienceUrl, authDomain, authClientId, errorFallbackComponent, applicationEnvironment, rollbarAccessToken, previewBaseUrl, modelsSrc = "src", componentsSrc = "src", viteConfig = {}, rollupOptions = {}, }) => {
20957
20957
  const coreRoot = path$1.resolve(__dirname, "..");
20958
20958
  const clientRoot = process.cwd();
20959
20959
  if (!path$1.isAbsolute(componentsSrc)) {
@@ -20988,6 +20988,7 @@ var defineConfig = ({ plugins, pushBaseUrl, audienceUrl, authDomain, authClientI
20988
20988
  : undefined,
20989
20989
  bundleHash: undefined, // This will be set by the build process
20990
20990
  viteConfig,
20991
+ rollupOptions,
20991
20992
  },
20992
20993
  outputOptions: {
20993
20994
  typesEntryPointFilename: "embeddable-types-entry-point.js",
@@ -21004,7 +21005,7 @@ var defineConfig = ({ plugins, pushBaseUrl, audienceUrl, authDomain, authClientI
21004
21005
  };
21005
21006
 
21006
21007
  var name = "@embeddable.com/sdk-core";
21007
- var version = "3.5.5";
21008
+ var version = "3.6.0";
21008
21009
  var description = "Core Embeddable SDK module responsible for web-components bundling and publishing.";
21009
21010
  var keywords = [
21010
21011
  "embeddable",