plugins: Plugin Alias v3 throws error
- Rollup Plugin Name: Alias
- Rollup Plugin Version: 3.0.1
- Rollup Version: 1.31.0
- Operating System (or Browser): macOS 10.15.3
- Node Version: 13.8.0
How Do We Reproduce?
https://repl.it/repls/WatchfulUnsightlyStruct
Expected Behavior
Expect to compile as per v2.2.0
Actual Behavior
Throws mysterious error (plugin alias) TypeError: Cannot read property 'input' of undefined
Thanks!
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 1
- Comments: 29 (8 by maintainers)
Commits related to this issue
- alias: Force run init on node-resolve, fixes #203 — committed to pkit/plugins by pkit 4 years ago
fix at #426
Thanks!
https://repl.it/repls/AttachedWhimsicalDehardwarization
Take a look in here, head into src/main.js and switch the two import lines to see the issue
@bennypowers It seems that your workaround is good, will shout if i run into anything.
Thanks!
I’m able to avoid this error with:
As a user, I may have expected
aliasto cover all cases ofresolve