stack

Home > @infiniteobjects/heft-shopify-rig > getThemePaths

getThemePaths() function

Generates an array of files to map the theme source to the shopify theme structure.

Signature:

export declare function getThemePaths(themeSource: string): Promise<IShopifyThemePaths[]>;

Parameters

Parameter Type Description
themeSource string The absolute path to the theme source folder

Returns:

Promise<IShopifyThemePaths[]>

Remarks

It can be used to reconstruct the source structure from a shopify theme.