How to remove uproject file from pakcaged build without doing pak?

i know that if i check "use pak file " from package settings then in package build (for windows) there will be no uproject . but for some reason i need to remove it completely from pakage build. what i am thinking is to copy paste the contents of uproject as a string variable in engine source. and then point engine to consider that variable as the data of uproject file

but for that in which cpp should i look into ?