[READ-ONLY] Mirror of https://github.com/sxzz/rolldown-plugin-require-cjs. Transform ESM imports to CJS requires when the imported module is pure CJS

refactor: use built-in `this.error` master


+13 -7
2 changed files