stack

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

getEnvironmentFromStore() function

Gets the environment for a given store

Signature:

export declare function getEnvironmentFromStore(store: string): ShopifyEnvironment;

Parameters

Parameter Type Description
store string  

Returns:

ShopifyEnvironment

Remarks

If the store does not have an environment associated with it, it will return production