-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Should the extension build command also work with bundles? #201
Comments
To build assets I need a Bundle Name + Bundle Path both informations are difficult to obtain for Bundles as I would need to run PHP and actual the Bundle code. And this can get really complicated if the Bundle code requires some environment variables and and... I would suggest that we use a own composer type {
"name": "my-bundle",
"type": "shopware-bundle",
//...
"extra": {
"bundles": {
// Relative to bundle directory
"MyBundle": "src/MyBundle"
}
}
} And for bundles included in an project we could use only that |
I see 😊 |
Pretty close to finish this. #227 needs more testing and tests to be fixed |
Thanks for the effort! 😊 |
Question
I tried to run it for a Shopware-Bundle like so:
Would be nice, as shopware bundles can also extend e.g. the administration :)
The text was updated successfully, but these errors were encountered: