Shopify / theme-tools

Everything developer experience for Shopify themes
https://shopify.dev/docs/themes
MIT License
62 stars 19 forks source link

Allow src/build directory to live inside of theme extensions #414

Open awd opened 2 years ago

awd commented 2 years ago

Running yarn deploy will deploy ALL extensions within a project. As developers move more into this app development structure where each extension may have its own build tooling, package management, etc. It makes sense to keep these files and directories contained together.

Your theme app extension includes files in an unsupported directory, src

What to try:
Make sure all theme app extension files are in the supported directories: assets, blocks, locales, snippets

Where is the source code for theme app extensions supposed to live inside of a project?

awd commented 2 years ago

I would consider something like a .gitignore file for the deploy commands, .deployignore which would prevent the source/build directories from being checked and pushed to shopify servers.