From abc8873a559c43cd6d54a3eb8ed4cc74c0cc335f Mon Sep 17 00:00:00 2001 From: Christian Bromann Date: Mon, 24 Jun 2024 13:09:47 -0700 Subject: [PATCH] docs(config): document 'rollupConfig' --- docs/config/01-overview.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/config/01-overview.md b/docs/config/01-overview.md index c800d076e..32ee79f42 100644 --- a/docs/config/01-overview.md +++ b/docs/config/01-overview.md @@ -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: `{}`* \ No newline at end of file