Asset compiling relative URLs on remote server

Is there a way like this question SCSS Compile path incorrect that will allow me to dictate the path to my assets on my remote server that does not use Bedrock?

See bud.setPublicPath | bud.js

1 Like

Anyone else looking at this can use APP_PUBLIC_PATH=/wp-content/themes/laidbackkeywest/public/ yarn build to set the public path when building assets when your remote setup does not match your development setup like me. I use bedrock in dev but have a straight WP setup on my production server. Don’t ask me why its just how it is.

2 Likes