Developers like to keep their repos organized. One way of doing this is through folders and file groupings. This organizational method is possible in folders like src/styles and src/scripts but not possible in src/snippets and src/sections.
Let's allow developers to create whatever folder structure they want in the main src/ folders, and then output those folders in the correct structure for Shopify servers in the dist/ folder.
For example
src/
-- snippets/
---- snippet-1/
------ snippet-1a.liquid
------ snippet-1b.liquid
---- snippet-2/
------ snippet-2a.liquid
------ snippet-2b.liquid
would be transformed into the following on build:
dist/
-- snippets/
---- snippet-1a.liquid
---- snippet-1b.liquid
---- snippet-2a.liquid
---- snippet-2b.liquid
Related #271
Developers like to keep their repos organized. One way of doing this is through folders and file groupings. This organizational method is possible in folders like
src/stylesandsrc/scriptsbut not possible insrc/snippetsandsrc/sections.Let's allow developers to create whatever folder structure they want in the main
src/folders, and then output those folders in the correct structure for Shopify servers in thedist/folder.For example
would be transformed into the following on build:
Related #271