Open geo-developer opened 7 years ago
Hey guys. nothing new on the issue?
No. Have you reproduced it?
Yeah just as described in issue. It was reported in Yii 2.0.11 but probably still resides de issue and i haven't tested with new Yii versions, but with Yii 2.0.11 i can be sure the error happens and the symlinks don't respect the publish options Btw i'm the one who posted the issue, but with a different account.
Please check with latest version. Thanks.
Hello guys,
So when i was configuring my asset manager with symlinks i got into this issue that when the option for symlinks is enabled in yii the publish options are partially or fully ignored by the asset manager. The option is linkAssets :
And with this simple Asset:
If i have the linkAssets to true in my config/web file the output i get is this one:
And with linkAssets to false we get this:
In both examples the expanded folders are the generated by asset manager, so you can see that we linkAssets is set to true the asset manager creates a symbolic link to every file in sourcePath ignoring the publishOptions that i have set in that AssetBundle, which doesn't happen when i put linkAssets to false and only the desired files are copied.
Thanks for the help, Pedro Rosa
Additional info