Create, configure, and initialize a Kernel plus its PublicApi in one call.
Steps: tsconfig discovery (unless CreateKernelOptions.tsConfigPath is given), config loading, Kernel construction and initialization, PublicApi creation.
const { kernel, api, config } = await createKernel({ projectPath: '/path/to/angular-project', plugins: [new AngularPlugin()],}); Copy
const { kernel, api, config } = await createKernel({ projectPath: '/path/to/angular-project', plugins: [new AngularPlugin()],});
When no tsconfig can be found and none is provided explicitly.
Create, configure, and initialize a Kernel plus its PublicApi in one call.
Steps: tsconfig discovery (unless CreateKernelOptions.tsConfigPath is given), config loading, Kernel construction and initialization, PublicApi creation.