diff --git a/.changeset/shiny-trainers-ring.md b/.changeset/shiny-trainers-ring.md new file mode 100644 index 0000000000..baa27c13af --- /dev/null +++ b/.changeset/shiny-trainers-ring.md @@ -0,0 +1,5 @@ +--- +'@shopify/theme': patch +--- + +Introduce support to the `blocks/` directory in the `shopify theme push` command diff --git a/packages/theme/src/cli/utilities/theme-fs.ts b/packages/theme/src/cli/utilities/theme-fs.ts index eef1c81207..1d571645aa 100644 --- a/packages/theme/src/cli/utilities/theme-fs.ts +++ b/packages/theme/src/cli/utilities/theme-fs.ts @@ -29,6 +29,7 @@ const THEME_DIRECTORY_PATTERNS = [ 'layout/**/*.liquid', 'locales/**/*.json', 'sections/**/*.{liquid,json}', + 'blocks/**/*.liquid', 'snippets/**/*.liquid', 'templates/**/*.{liquid,json}', 'templates/customers/**/*.{liquid,json}',