We use a shared asset host so the full path includes the application name: assets.example.com/myapp1.
With webpacker we used the publicPath option to add the prefix. Is there an equivalent?
ASSET_HOST seems to assume a fully qualified url. We'd prefer to avoid host names (e.g. assets-staging.example.com) in our compiled assets so we can use the same docker image across environments.
I'd like
to precompile to:
We use a shared asset host so the full path includes the application name:
assets.example.com/myapp1
.With webpacker we used the
publicPath
option to add the prefix. Is there an equivalent?ASSET_HOST seems to assume a fully qualified url. We'd prefer to avoid host names (e.g.
assets-staging.example.com
) in our compiled assets so we can use the same docker image across environments.