minifyify icon indicating copy to clipboard operation
minifyify copied to clipboard

feature request: ability to pass a function to options.map

Open joeybaker opened this issue 10 years ago • 0 comments

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`)
  }
}

joeybaker avatar Jun 18 '15 17:06 joeybaker