Questions and discussions about using the Shopify CLI and Shopify-built libraries.
I'm trying to migrate an app to the new 3.0 CLI. And my extensions are built to a different folder called build. I want the shopify CLI to look into that folder to find the expected extensions folder. I tried using the path argument but it still only detected the extensions folder when it is placed at the root and not inside the build folder.
This is how I used the command:
shopify app deploy --path build
Any help would be appreciated.
Hi!
You can specify a custom directory for your extensions with the extension_directories
field in shopify.app.toml
.
More info: https://shopify.dev/docs/apps/structure#extensions
To learn more visit the Shopify Help Center or the Community Blog.