shellscape / webpack-manifest-plugin

webpack plugin for generating asset manifests
MIT License
1.44k stars 184 forks source link

An option for outputing fullpath of files as key #23

Closed mohsen1 closed 7 years ago

mohsen1 commented 8 years ago

It would output this

{"entry": "entry-abcd1234"}

instead of this

{"/path/to/entry": "entry-abcd1234"}

with that option

monochrome-yeh commented 7 years ago

I have the same issue, I think of the solution that should provide such as [name], [path] , etc.., and then we could solve this requirement.

calvinwyoung commented 7 years ago

+1 for this

mastilver commented 7 years ago

@mohsen1 @monochrome-yeh @calvinwyoung @kilokeith @igor-im @dmzkrsk @Bnaya I'm not sure to understand what you want. Can any of you provide a simple webpack config with the actual and expected output?

mastilver commented 7 years ago

I'm closing this as it't now possible using the map option: https://github.com/danethurber/webpack-manifest-plugin/blob/master/spec/plugin.spec.js#L545-L566