1egoman / debundle

:card_file_box: A javascript debundler. Takes a Browserify or Webpack bundle and recreates the initial, pre-bundled source.
https://www.npmjs.com/package/debundle
706 stars 145 forks source link

Can you give me an webpack example? #18

Open xuehuli8 opened 6 years ago

xuehuli8 commented 6 years ago

My English is poor. When I want to decompile webpack with debundle, I don't know how to operate it. Generally, Vue compiled by webpack has 3 files. Manifest..js Vendor..js App.****.js Can you give me an example of how to decompile webpack compiled Vue files?

1egoman commented 6 years ago

I'm not really maintaining this tool anymore, and while it was a cool research project, it's not something that I ever got to a place where it worked super reliably. Decompiling a javascript bundle is usually not that good of an idea unless you know exactly what you want (ie, maybe for reverse engineering?).

That being said, the most help I can give you is to link you an example: https://github.com/1egoman/debundle/tree/master/test_bundles/webpack and the docs to go along with it: https://github.com/1egoman/debundle/blob/master/DOCS.md

Sorry if I'm not being all that helpful, but this tool is pretty experimental.

Boorj commented 5 years ago

It's quite required though