Back to Kibana

@kbn/peggy

src/platform/packages/private/kbn-peggy/README.mdx

9.4.0626 B
Original Source

This package wraps the peggy package, exposing a synchronous and async version of the generator which includes two modifications:

  1. When a path is provided a ${basename}.config.json file will be loaded if it exists and is expected to include peggy config options as defined in the peggy docs. This config will be used when compiling this file

Plugins

These types will automatically be included for plugins.

Packages

To include these types in a package add "@kbn/ambient-ui-types" to the types portion of the tsconfig.json file.