Skip to content

Commit

Permalink
docs(config): document generateExportMaps config option & function
Browse files Browse the repository at this point in the history
  • Loading branch information
tanner-reits committed Jun 10, 2024
1 parent 7c73ba8 commit dfa3222
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/config/01-overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,14 @@ enableCache: true

Please see the [Extras docs](./extras.md).

## generateExportMaps

*default: `false`*

Stencil will generate [export maps](https://nodejs.org/api/packages.html#packages_exports) that correspond with various output target outputs. This includes the root
entry point based on the [primary output target](../output-targets/01-overview.md#primary-package-output-target-validation) (or first eligible output target if not specified),
the entry point for the lazy-loader (if using the `dist` output target), and entry points for each component (if using `dist-custom-elements`).

## globalScript

The global script config option takes a file path as a string.
Expand Down

0 comments on commit dfa3222

Please sign in to comment.