plugins icon indicating copy to clipboard operation
plugins copied to clipboard

commonjs/node-resolve does not expand all require, yielding invalid outputs

Open jacogr opened this issue 5 years ago • 2 comments

  • 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.

jacogr avatar Dec 09 '20 11:12 jacogr

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. ⓘ

stale[bot] avatar Feb 08 '21 14:02 stale[bot]

I meet the same issue. The code meaning be changed by rollup. image

Venjy avatar Mar 14 '22 02:03 Venjy