Skip to content

Commit

Permalink
docs(config): document 'rollupConfig'
Browse files Browse the repository at this point in the history
  • Loading branch information
christian-bromann committed Jun 24, 2024
1 parent d1c79e8 commit abc8873
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/config/01-overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -503,3 +503,12 @@ export declare function util(arg: UtilInterface): void;

When `true`, validation for common `package.json` fields will occur based on setting an output target's `isPrimaryPackageOutputTarget` flag.
For more information on package validation, please see the [output target docs](../output-targets/01-overview.md#primary-package-output-target-validation).

## rollupConfig

Passes custom configuration down to rollup itself. The following options can be overwritten:

- `inputOptions`: [`context`](https://rollupjs.org/configuration-options/#context), [`external`](https://rollupjs.org/configuration-options/#external), [`moduleContext`](https://rollupjs.org/configuration-options/#modulecontext) [`treeshake`](https://rollupjs.org/configuration-options/#treeshake)
- `outputOptions`: [`globals`](https://rollupjs.org/configuration-options/#output-globals)

*default: `{}`*

0 comments on commit abc8873

Please sign in to comment.