babel-plugin-transform-assets
babel-plugin-transform-assets copied to clipboard
README doesn't describe if you're able to change the hashing algorithm
The docs don't say which hashing algorithms are available, or explicitly if you can change it - just a cryptic [file].[ext]?[sha512:hash:base64:7]
.
It'd be great if the docs explained how this worked, and what the various possibilities were (or at least where the options come from). At the moment, I'm just working it out through trial and error
in case you didn't solve it already:
options are being proxied as they are to asset-require-hook https://github.com/jmurzy/babel-plugin-transform-assets/blob/master/src/index.js#L37
which in turn, works like this https://github.com/aribouius/asset-require-hook/blob/master/src/compiler.js