Closed theunreal closed 4 years ago
Hi - this isn't a package I'm maintaining anymore, please see the readme: https://github.com/1egoman/debundle#dragon-here-be-dragons-dragon
This tool was built as a project to research how javascript bundles work, and they can be complicated. From experience, I can guess that a bundle starting with webpackJsonp
with a function signature like you mentioned is most likely a chunk that goes along with a primary bundle, and not a standalone bundle on its own (that webpackJsonp
is how the chunk "injects" its modules back into the main bundle context so that it can run them). Debundle never has worked on bundles like this, and due to it not being maintained any longer, this is unlikely to be something added.
i had similar issues and the v2 branch also doesn't work. would be nice to have a notice about that in the readme. that would save the time of people thinking about trying this solution for recent webpack versions. rn it looks like it could work despite being not maintained, while in reality it doesn't work.
Hi, I'm trying to debundle a webpack bundeled JS file which starts with:
Is there any special configuration I need to notice?
I have the defaults for webpack:
Not sure what else is missing.
Update: Tried the same with another file in the repo which starts with:
and got this error: