init
This content is not available in your language yet.
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.
Parameters
섹션 제목: “Parameters”addonPath?
섹션 제목: “addonPath?”string
Returns
섹션 제목: “Returns”void