Closed zaigham closed 9 years ago
It's not currently possible, but this is by design: a Modx package includes both PHP and web assets. Because web assets have to be in the web folder, the package must also be in the web folder. Once you build and distribute the package in the MODx format, then the files get installed in 2 locations and the PHP files can exist above web root (along with the core directory).
I have considered is a "publish" command that would take a package's assets folder and copy it to the assets_dir location. However that would make development much more difficult: you would have to remember to copy the live assets back into your version controlled directory.
Since repoman's goal is to simplify dev, I have not implemented that workflow.
That makes sense. :smile:
Thanks for detailed response, much appreciated. :+1:
Kindly assist. Thanks.