UNPKG

@contentstack/live-preview-utils

Version:

Contentstack provides the Live Preview SDK to establish a communication channel between the various Contentstack SDKs and your website, transmitting live changes to the preview pane.

13 lines (12 loc) 609 B
import "./chunk-5WRI5ZAA.js"; // src/index.ts import ContentstackLivePreviewHOC from "./preview/contentstack-live-preview-HOC.js"; import LightLivePreviewHoC from "./light-sdk.js"; var ContentstackLivePreview = typeof process !== "undefined" && (process.env.PURGE_PREVIEW_SDK === "true" || process.env.REACT_APP_PURGE_PREVIEW_SDK === "true") ? LightLivePreviewHoC : ContentstackLivePreviewHOC; var VB_EmptyBlockParentClass = "visual-builder__empty-block-parent"; var index_default = ContentstackLivePreview; export { VB_EmptyBlockParentClass, index_default as default }; //# sourceMappingURL=index.js.map