Skip to content

OutputFile

This content is not available in your language yet.

Defined in: core/index.ts:43

contents: Uint8Array

Defined in: core/index.ts:48

Raw byte content. NAPI 가 napi_create_buffer_copy 로 노출 — string copy + UTF-8 검증 비용 회피 (binary asset / CSS bundle / source map 모두 안전). esbuild OutputFile.contents 와 동등.


optional exports?: string[]

Defined in: core/index.ts:56

이 chunk 가 export 하는 심볼 이름 목록 (cross-chunk 검증용).


optional imports?: string[]

Defined in: core/index.ts:59

이 chunk 가 import 하는 다른 chunk 의 최종 filename 배열 (rolldown chunk.imports 호환). content-hash 까지 확정된 경로.


optional moduleIds?: string[]

Defined in: core/index.ts:54

code splitting 시 이 chunk 에 포함된 모듈 절대경로 (rolldown chunk.moduleIds 호환). 단일 번들 / asset output 은 빈 배열.


path: string

Defined in: core/index.ts:44


readonly text: string

Defined in: core/index.ts:51

Lazy UTF-8 decode of contents. 첫 access 시 한 번 디코드 후 캐시. esbuild OutputFile.text 와 동등.