fix(run): compatability with `commonjs` plugin
Rollup Plugin Name: run
This PR contains:
- [x] bugfix
- [ ] feature
- [ ] refactor
- [ ] documentation
- [ ] other
Are tests included?
- [ ] yes (bugfixes and features will not be merged without tests)
- [x] no
Breaking Changes?
- [ ] yes (breaking changes will not be merged unless absolutely necessary)
- [x] no
If yes, then include "BREAKING CHANGES:" in the first commit message body, followed by a description of what is breaking.
List any relevant issue numbers:
Description
The facadeModuleId variable includes ?commonjs suffix breaking chank.facadeModuleId === input
@lukastaegert just updated the PR with your suggestion
@shellscape pushed
CI is failing due to a TypeScript issue in another plugin. I'll resolve that on Monday
OK so your change here: https://github.com/rollup/plugins/pull/1170/files#diff-0fba79f6114491dd08bed97b1b30652eadf2b4494f41b699f85889a579c1e422L36 caused this TS error here: https://github.com/rollup/plugins/runs/8287319672?check_suite_focus=true#step:7:260
Please fix that error, be sure to run pnpm lint and pnpm build
~~not sure why CI isn't running on your PR. I'm afraid you'll need another force push.~~ figured out I could kick CI with a change to the PR title
A failing tests there: https://github.com/rollup/plugins/actions/runs/3314957482/jobs/5474917583#step:11:35
Closing as abandoned.