create-react-app icon indicating copy to clipboard operation
create-react-app copied to clipboard

Does __webpack_public_path__ accept "auto"?

Open michhyun1 opened this issue 2 years ago • 0 comments

I'm trying to set the publicPath in the webpack config, but I'm not sure if its possible with CRA.

I want to set the publicPath to "auto" - just as shown here: https://webpack.js.org/guides/public-path/#automatic-publicpath

If I set the PUBLIC_PATH='auto' - I'm wondering if this will configure the underlying public path config as I expect (like in the link I shared)

michhyun1 avatar Dec 06 '23 18:12 michhyun1