webpack-key-parse
simple function parse webpack key context string
; const key = './plugin/a/b.vue' // {// ext:'.vue',// name: 'b',// base: 'b.vue',// dir: 'plugin/a',// entry: 'plugin/a/b'// dir_dash:'plugin-a',// entry_dash: 'plugin-a-b'// }