Open lastobelus opened 6 years ago
You could look into file-loader name option. Not sure what's the parameter(s) it receives but maybe there's something to do there.
So instead of passing the path and name as we currently do, you could BEM-ize the path/name.
Proposal:
Allow organizing snippets & templates into folders. When uploading, upload files using a BEM-style naming convention:
Given
the following would be uploaded to shopify:
(I can work on this if someone is willing to point me in the right direction by suggesting a general approach)