콘텐츠로 이동

init

init(addonPath?): void

Defined in: core/index.ts:402

Loads the NAPI addon — called automatically on the first invocation of a native API such as transpile()/build()/watch(), so calling it explicitly is optional. Call it directly only when you need an addon path override (e.g. a custom prebuild). No-op if already loaded.

string

void