You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the problem is that there is only one cachePath. so if main webroot assets work, then plugin assets don't work.
is there any way to build both assets at the same time?
The text was updated successfully, but these errors were encountered:
is there any way to build both assets at the same time?
No there is only one output path. If you use the helper to link assets it shouldn't matter much though. Are your plugins generating assets with the same name?
My problem is that js and css files in a plugin may contain paths to images and other resources that are relative to the plugin folder. When the build is saved inside the global WWW_ROOT, those paths break.
I suggest configs inside a plugin should have their own cachePath and their own web root. Then AssetCompressHelper->url() can use those paths.
Hi, I am trying to compress assets in both main webroot folder and plugin webroot folder.
webroot/assets/js/*.js => webroot/js/*.js
{plugin name}/webroot/assets/js/*.js => {plugin name}/webroot/js/*.js
the problem is that there is only one cachePath. so if main webroot assets work, then plugin assets don't work.
is there any way to build both assets at the same time?
The text was updated successfully, but these errors were encountered: