-
Notifications
You must be signed in to change notification settings - Fork 710
Labels
Description
Reproduction link or steps
reduced example:
var require_pdfAnnotate = function() {
return {
function() { eval() }
}
}
function n() {}
n.d = (y, x) => {
for (var z in x)
n.o()
}, n.o = () => 0
var r
n.d(r, {hT : () => C})which is minified to (using rolldown index.js --file broken.js --minify):
var require_pdfAnnotate = function () {
return {
function() {
eval();
},
};
};
function n() {}
((n.d = (e, t) => {
for (var n in t) n.o();
}),
(n.o = () => 0));
var r;
n.d(r, { hT: () => C });What is expected?
$ nodejs index.js
What is actually happening?
After minify I get:
$ nodejs broken.js
TypeError: n.o is not a function
System Info
rolldown --version
rolldown v1.0.0-beta.59Any additional comments?
It works with rolldown v1.0.0-beta.58
Reactions are currently unavailable