Open
Description
- Rollup Plugin Name: @rollup/plugin-commonjs
- Rollup Plugin Version: 28.0.3
- Rollup Version: 3.29.5
- Operating System (or Browser): Windows/Edge
- Node Version: v20.11.0
- Link to reproduction (
⚠️ read below): https://stackblitz.com/edit/rollup-repro-pk3zjwzv?file=package.json
Expected Behavior
Being able to import the default
of "call-bind-apply-helpers" and have the page load:
f = 0
fBound = 1
Actual Behavior
actualApply-fd0d571b.js:12 Uncaught TypeError: Function has non-object prototype 'undefined' in instanceof check
at [Symbol.hasInstance] (<anonymous>)
at call.a (actualApply-fd0d571b.js:12:13)
at callBindBasic (index.js:25:10)
at main.js:7:16
Additional Information
The following code throws if (this instanceof a) {
and breaks the code.
Metadata
Metadata
Assignees
Labels
No labels