Closed butterywombat closed 9 years ago
For reference, here is the PR in cartero-node-hook https://github.com/rotundasoftware/cartero-node-hook/pull/7
Hi @dxuehu and @ferlores ,
Thanks for addressing this getAssetUrl case.
This changes the assetMap to have more useful and necessary info of how to find the asset (not just the file name), or else this info would have to be looked up again in the packageMap by the user.
That makes sense.. better to push the complexity into cartero than the hook.
We should increment the formatVersion
property in the metaData to 3
so that earlier versions of the hook complain when they get this new updated format.
I have some questions on the related hook PR, will ask there.
This changes the
assetMap
to have more useful and necessary info of how to find the asset (not just the file name), or else this info would have to be looked up again in thepackageMap
by the user. The url transformer was modified to work with the new changes (and cartero node hook PR: https://github.com/rotundasoftware/cartero-node-hook/pull/7 ) @ferlores @dgbeckmetaData.json example BEFORE:
metaData.json AFTER:
also fixed readme