fix: process.exit(1) 대신 Rollup 에러 처리 메커니즘 사용#96
Conversation
publint 플러그인에서 process.exit(1) 호출 시 프로세스가 즉시 종료되어 다른 플러그인(e.g. preserve-directives)의 에러가 출력되지 않는 문제를 수정합니다. - buildStart: this.error()를 사용하여 Rollup의 공식 에러 처리 파이프라인을 활용 - closeBundle: throw new Error()를 사용하여 Rollup이 에러를 적절히 처리하도록 변경 외부 인터페이스(publint.severity 옵션)는 변경 없음. Fixes #89 Co-authored-by: yceffort_naver <yceffort-naver@users.noreply.github.com>
Claude Code ReviewCode review was not run because your organization is out of credits. An admin can add credits from the billing page in the Anthropic Console. Once credits are available, reopen this pull request to trigger a review. |
|
NPM Packages📦 @naverpay/piteTotal Sizes: 10.3 kB Total Changes: +78 B (+1%) (Size Increased)
ℹ️ View Unchanged Files
powered by: naverpay size-action |
publint 플러그인에서 process.exit(1) 호출 시 프로세스가 즉시 종료되어 다른 플러그인의 에러가 출력되지 않는 문제를 수정합니다.
Closes #89
Generated with Claude Code