Hello. I need to make a small change to my webpack config and am not 100% sure the best way to do it. Any advice would be appreciated.
I need to change the webpack output “publicPath” from relative path “build/” to the absolute path “/build/”.
That’s all I want to do, but after fiddling around it seems like I need to copy the entire original config file content out of node_modules, make my one tiny change, and then set this as an override config file in package.json? Is that right?
It’s working, but I’d rather not simply copy the file verbatim like that and don’t want to have to check for changes every time I update the app scripts. Is there any way to make this a more targeted override?