Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

this type of bundled code cannot be unbundled #95

Closed
youdie323323 opened this issue Jun 14, 2024 · 1 comment · May be fixed by #50
Closed

this type of bundled code cannot be unbundled #95

youdie323323 opened this issue Jun 14, 2024 · 1 comment · May be fixed by #50
Labels
enhancement New feature or request webpack

Comments

@youdie323323
Copy link

(function () {
    (function () {
        var a = {
            215: function (a, b) {
                'use strict';

                Object.defineProperty(b, "__esModule", {
                    value: true
                });
            },
            152: function (a, b, c) {
                'use strict';

                Object.defineProperty(b, "__esModule", {
                    value: true
                });

                var exported = c(191);
            },

            /* rest of files... */
        };
        var b = {};
        function c(d) {
            var e = b[d];
            if (e !== undefined) {
                return e.exports;
            }
            var f = b[d] = {
                id: d,
                loaded: false,
                exports: {}
            };
            a[d].call(f.exports, f, f.exports, c);
            f.loaded = true;
            return f.exports;
        }
        //c.amdO = {};
        c.d = function (a, b) {
            for (var d in b) {
                if (c.o(b, d) && !c.o(a, d)) {
                    Object.defineProperty(a, d, {
                        enumerable: true,
                        get: b[d]
                    });
                }
            }
        };
        c.o = function (a, b) {
            return Object.prototype.hasOwnProperty.call(a, b);
        };
        c.r = function (a) {
            if (typeof Symbol != "undefined" && Symbol.toStringTag) {
                Object.defineProperty(a, Symbol.toStringTag, {
                    value: "Module"
                });
            }
            Object.defineProperty(a, "__esModule", {
                value: true
            });
        };

        (function () {
            'use strict';

            c(215);
            
            /* more "c" function calls */
        })();

        // or 

        var L = c(215);
    })();
})();

(or see full version here https://qu.ax/hmRk.js)

is this already known? i see this type of bundled files many times, i'd like to unbundle it.

@youdie323323 youdie323323 added the enhancement New feature or request label Jun 14, 2024
@j4k0xb j4k0xb added the webpack label Jun 14, 2024
@j4k0xb
Copy link
Owner

j4k0xb commented Jun 14, 2024

is this already known? i see this type of bundled files many times, i'd like to unbundle it.

yes its known and work in progress (#50 / https://deploy-preview-50--webcrack.netlify.app )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request webpack
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants