CDN prefix in dynamic imports #86
Replies: 1 comment
-
Use Source: README > Deployment
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Greetings,
Recently we've picked up splitting a couple of large modules out of the main application bundle. However I've been noticing that these modules, when prefetched, do not have a proper CDN prefix and are requested in a relative manner.
It seems like the publicPath is always relative and ignores the CDN that exists for the env. The javascript pack tags are working properly though and including the CDN prefix as expected. Anyone having a similar issue or can offer any leads into looking into this?
ENV["ASSET_HOST"] is set up properly.
Shakapacker v 6.1.1
Rails v6.1.4.7
Beta Was this translation helpful? Give feedback.
All reactions