I think this needs to be an absolute path (`/shared/...`) for the production build to still work. Can you verify that this doesn't break after doing a production build?