You can add that extension to both your .uproject and/or the editor and it will function as you expect.
As long as your project is running under the -DX12 command, when you go to package, it should be using that as well. I am not 100 percent on that, so you will want to run some tests to make sure that is correct.