Closed vakata closed 5 years ago
Hi @vakata , thanks a lot for your PR.
Do you think it would make sense to add a new setting to control this behavior? I wonder if changing this would break other user's projects.
@FelixFurtmayr , you've done a lot of work on this project, do you have any opinion on this?.
Thanks both of you for your help!
Hi guys,
I think this is a good idea. Thanks for the suggestion. As we don't use the modules as classic node modules (with "require") and just copy some files from them, we need no dependencies. Skipping some dependencies will make the code faster. I would just do this step.
Yes, it would probably break some code: If someone used dependencies of the modules (which was at least not my intention - keep it simple) and if the error handling of optional dependencies in his code was not done right. If anybody has this problem, he might just fix his code, or tell us.
Regards
Felix
Hi guys,
Thank you for merging.
I loved the simplicity of the plugin and I created a PHP port of this plugin (for using with composer): https://packagist.org/packages/vakata/frontend-dependencies I hope that is OK? If not - I will bring it down.
Best regards,
Hi vakata,
I'm fine with that. I guess msurdi will also be. I'm happy if the code could help you. If you have another improvement - we are happy to receive your pull request.
Regards, Felix
That's absolutely fine. I'm very happy you've found the idea useful.
@FelixFurtmayr , @msurdi - that is great news - thank you for the wonderful plugin.
We can not skip all dependencies, but at least optional ones (for example fabric tries to install canvas, which is not needed)