commonjs/node-resolve does not expand all require, yielding invalid outputs
- Rollup Plugin Name: commonjs/node-resolve
- Rollup Plugin Version: 17.0.0/11.0.0
- Rollup Version: 2.34.2
- Operating System (or Browser): Mac OS 10.15.2
- Node Version: v15.3.0
- Link to reproduction (⚠️ read below): https://github.com/jacogr/test-rollup-memoizee
Expected Behavior
I would expect the memoizee requires to be correctly expanded.
Actual Behavior
The memoizee statements are short-circuited, resulting in undefined outputs, not intended by the library code.
Additional Information
The linked repo has the full config, the built output and also explains in the README where the discrepancies are seen.
Hey folks. This issue hasn't received any traction for 60 days, so we're going to close this for housekeeping. If this is still an ongoing issue, please do consider contributing a Pull Request to resolve it. Further discussion is always welcome even with the issue closed. If anything actionable is posted in the comments, we'll consider reopening it. ⓘ
I meet the same issue. The code meaning be changed by rollup.
