UNPKG

vite-plugin-shopify-theme-islands

Version:
9 lines (8 loc) 626 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, ClientDirectiveOptions } from "./contract.js"; export type { ClientDirectiveDefinition, DirectivesConfig, ShopifyThemeIslandsOptions, } from "./options.js"; export type { IslandLoadDetail, IslandErrorDetail, ReviveOptions, RetryConfig, RuntimeDirectivesConfig, } from "./contract.js"; export default function shopifyThemeIslands(options?: ShopifyThemeIslandsOptions): Plugin;