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 26, 2024
1 parent a4eb2a2 commit 45f7856
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 @@ -141,6 +141,14 @@ export class APIComponent {
}
```

## 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 45f7856

Please sign in to comment.