On my dev machine, I use WAMP (no Bedrock/Trellis, etc).
The path to my site on dev is:
http://some.hostname.com:1234/website.com/
In production, it would naturally be:
For the ‘publicPath’ variable in config.json, if not using Bedrock, the documentation says to put:
"publicPath": "/wp-content/themes/sage/"
So given my file paths, I would put the following (which would work for dev):
"publicPath": "/website.com/wp-content/themes/sage/"
However, on live, since the paths are different, does that mean I would have to change publicPath to:
"publicPath": "/wp-content/themes/sage/"
… every time I compile assets for production?
Or is there a way to set two publicPaths… one for dev, one for prod?