Shopify/themekit

Run .liquid sections before .json templates in deploy command

andershagbard opened this issue · 0 comments

Describe the bug
If a JSON templates refereres to a section which does not exist in the code, it wont upload. However, when using theme deploy it uploads all files.

There are cases where JSON templates will currently be run before their referred sections, and therefore fail.

Error:
(templates/customers/login.json) Section type 'template-customers-login' does not refer to an existing section file