vite-plugin-shopify-theme-islands
Version:
Vite plugin for island architecture in Shopify themes
12 lines (11 loc) • 492 B
TypeScript
import { type ReviveOptions } from "./contract.js";
import type { ClientDirectiveDefinition, DirectivesConfig, ShopifyThemeIslandsOptions } from "./options.js";
export interface ResolvedThemeIslandsPolicy {
plugin: {
directives: DirectivesConfig;
customDirectives: ClientDirectiveDefinition[];
debug: boolean;
};
runtime: ReviveOptions;
}
export declare function resolveThemeIslandsPolicy(options?: ShopifyThemeIslandsOptions): ResolvedThemeIslandsPolicy;