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

corrupt build when inlining jsonc-parser #97

Closed
Tracked by #468
danielroe opened this issue Jul 25, 2022 · 1 comment
Closed
Tracked by #468

corrupt build when inlining jsonc-parser #97

danielroe opened this issue Jul 25, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@danielroe
Copy link
Member

danielroe commented Jul 25, 2022

see nuxt/nuxt#14416.

reproduction:
https://stackblitz.com/edit/node-weknes

From: https://unpkg.com/browse/[email protected]/lib/esm/impl/edit.js

var __assign = (this && this.__assign) || function () {
    __assign = Object.assign || function(t) {
        for (var s, i = 1, n = arguments.length; i < n; i++) {
            s = arguments[i];
            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
                t[p] = s[p];
        }
        return t;
    };
    return __assign.apply(this, arguments);
};

=>

var __assign = (/home/projects/node-weknes && /home/projects/node-weknes.__assign) || function () {
    __assign = Object.assign || function(t) {
        for (var s, i = 1, n = arguments.length; i < n; i++) {
            s = arguments[i];
            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
                t[p] = s[p];
        }
        return t;
    };
    return __assign.apply(this, arguments);
};
@pi0
Copy link
Member

pi0 commented Dec 27, 2024

~> #468

@pi0 pi0 closed this as not planned Won't fix, can't repro, duplicate, stale Dec 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants