soundcloud / chunk-manifest-webpack-plugin

Allows exporting a manifest that maps entry chunk names to their output files, instead of keeping the mapping inside the webpack bootstrap.
MIT License
394 stars 73 forks source link

Module name instead of module Id in output #39

Open aaronte opened 7 years ago

aaronte commented 7 years ago

Is there a way for the output json to have a map of module names to the file vs module ids as keys? Like the output of https://github.com/kossnocorp/assets-webpack-plugin? i.e.

{
    a: 'a.[hash].js',
    b: 'b.[hash].js'
}

vs

{
    0: 'a.[hash].js',
    1: 'b.[hash].js'
}
rileylnapier commented 6 years ago

i would like to know this too