I have this bud.config.js
.proxy(false)
/**
* Development URL to be used in the browser.
*/
.serve({
port: 3000,
host: 'localhost'
})
if (app.isDevelopment) {
app.setPublicPath(publicPath => {
return `https://${process.env.WP_HOME}/_dev/`
});
}
and this directive in a blade template
<img src="@asset('images/' . $logo)">
I have a frontend proxy that proxies all /_dev/ urls to the local dev server started by bud, the rest goes directly to php/wp, so navigating to https://www.example.loc/
all urls generated from css files are correct, starging with /_dev/ but the url generated from the directive is something like https://www.example.loc/app/themes/theme/public/https:/https:/www.example.loc/_dev/images/logo-light.svg
is this a configuration error?