fix deploying react as external lib