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
705 stars 145 forks source link

Support for webpackJsonp #27

Open mysticaltech opened 4 years ago

mysticaltech commented 4 years ago

Hello, it would be fantastic to have support for files in the form of

(window.webpackJsonp = window.webpackJsonp || []).push(/ ... /);

Any way of making this work, please? 🙏🏻

albertcsg commented 2 years ago

Hello, it would be fantastic to have support for files in the form of

(window.webpackJsonp = window.webpackJsonp || []).push(/ ... /);

Any way of making this work, please? 🙏🏻

hi bro, did u find out the solution?

0xdevalias commented 1 year ago

I'm not sure of the exact way they go about resolving this, but I came across another tool today that seemed to handle webpackJsonp:

Digging through the code a little for stuff related to webpackJsonp lead me to this: