Currently, BP external devs can't build a custom buyer portal as the vite build will autocomplete the path to the users domain name. This effort aims to provide a solution to the developers by:
Changing our example env values, point to production by default.
Providing docs on how to deploy currently. Note: This will change in the future and hopefully will take less manual by disabling B2B script injection and letting you write a BC script from a script template
What?
Deployment instructions for external customers.
Why?
Currently, BP external devs can't build a custom buyer portal as the vite build will autocomplete the path to the users domain name. This effort aims to provide a solution to the developers by:
Testing / Proof
Successful build
Custom domain in compiled index.js:
How can this change be undone in case of failure?
Revert ping {suggested reviewers}