minifyify
minifyify copied to clipboard
feature request: ability to pass a function to options.map
It would be nice to be able to programmatically determine the sourcemap path. e.g.
const options = {
map: (js, callback) => {
const hash = md5(js)
callback(null, `${static}/${hash}/map.json`)
}
}