Acorn Prettify contains a collection of modules to apply theme-agnostic front-end modifications to your Acorn-powered WordPress sites.
38
stars
1
forks
source link
Relative URLs incorrectly prepend /wp/ when running acorn optimize #13
Closed
dalepgrant closed 1 month ago
Version
1.0.1
What did you expect to happen?
When enabling relative URLs I expected them to be enqueued with the correct URL, e.g.
/app/themes/sage10/public/css/app.1259cf.css
What actually happens?
Scripts and styles are enqueued with
/wp/
prepended, e.g./wp/app/themes/sage10/public/css/app.1259cf.css
Steps to reproduce
'enabled' => true
in the prettify configwp acorn optimize
See roots/acorn#226 for more details.
System info
macOS 14.5 M3 chip Lima as local env
Also same when deployed with
acorn optimize
as a build-after task to Ubuntu 22.04.Both envs php8.2
Log output
No response
Please confirm this isn't a support request.
Yes