Home > @infiniteobjects/heft-shopify-rig > reconstructTheme
Takes a path to a Shopify theme and a Source theme, It copies the files from the Shopify theme to the Source theme respecting the Source theme structure.
Signature:
export declare function reconstructTheme(options: IReconstructThemeOptions): Promise<void>;
Parameter | Type | Description |
---|---|---|
options | IReconstructThemeOptions |
Returns:
Promise<void>
This is useful when you want to reconstruct the source theme from a shopify theme.