UNPKG

vite-plugin-shopify-theme-islands

Version:
17 lines (16 loc) 773 B
import { type ReviveOptions } from "./contract.js"; import type { IslandInventoryState } from "./discovery.js"; import type { DirectivesConfig, ShopifyThemeIslandsOptions } from "./options.js"; import type { ReviveCompileInputs } from "./revive-compile.js"; export interface ThemeIslandsPluginConfig { plugin: { directives: DirectivesConfig; debug: boolean; }; } export interface CompiledThemeIslandsConfig extends ThemeIslandsPluginConfig { runtimeOptions(): ReviveOptions; compileInputs(input: IslandInventoryState): ReviveCompileInputs; } export declare function resolveThemeIslandsConfig(options?: ShopifyThemeIslandsOptions): CompiledThemeIslandsConfig; export declare const compileThemeIslandsConfig: typeof resolveThemeIslandsConfig;