UNPKG

vite-plugin-shopify-theme-islands

Version:
11 lines (10 loc) 840 B
import type { ShopifyThemeIslandsOptions } from "./options.js"; import type { Plugin } from "vite"; /** A function that triggers the load of an island module. */ export type ClientDirectiveLoader = () => Promise<void>; export type { ClientDirective, ClientDirectiveContext, ClientDirectiveOptions, } from "./contract.js"; export type { ClientDirectiveDefinition, DirectivesConfig, ShopifyThemeIslandsOptions, } from "./options.js"; export type { IslandLoadDetail, IslandErrorDetail, ReviveOptions, RetryConfig, RuntimeDirectivesConfig, } from "./contract.js"; export type { InteractionEventName } from "./interaction-events.js"; export { DEFAULT_INTERACTION_EVENTS, INTERACTION_EVENT_NAMES, isInteractionEventName, } from "./interaction-events.js"; export default function shopifyThemeIslands(options?: ShopifyThemeIslandsOptions): Plugin;