We usually want to reference an asset by some key we know (its filename, e.g. foo.js) & get its real public path (e.g. https://some.cdn.url/foo.1234.js) in return.
If the basePath gets added to both the key & value in the manifest, it's impossible to do this.
Since it's a simple change I thought I'd just PR it rather than opening an issue, but curious if you have a use case for including basePath in the keys?
We usually want to reference an asset by some key we know (its filename, e.g.
foo.js
) & get its real public path (e.g.https://some.cdn.url/foo.1234.js
) in return.If the basePath gets added to both the key & value in the manifest, it's impossible to do this.
Since it's a simple change I thought I'd just PR it rather than opening an issue, but curious if you have a use case for including basePath in the keys?
:smile: cheers!