From a353769b0094cd502a9ce35f797f74c7dc1d9232 Mon Sep 17 00:00:00 2001 From: Ryan Waskiewicz Date: Thu, 13 Jul 2023 07:23:21 -0500 Subject: [PATCH] fix(rollup-config): deprecate BundlingConfig#namedExports (#4532) this commit deprecates the `namedExports` field on the `BundlingConfig` interface. `@rollup/plugin-commonjs` no longer honors this field as of https://github.com/rollup/plugins/commit/5d2dcf433aaa65d7ebf93d210cac67011fefe29f. Fixes: #2523 STENCIL-867 --- src/declarations/stencil-public-compiler.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/declarations/stencil-public-compiler.ts b/src/declarations/stencil-public-compiler.ts index dd78f2d0d76..81c44016401 100644 --- a/src/declarations/stencil-public-compiler.ts +++ b/src/declarations/stencil-public-compiler.ts @@ -1526,7 +1526,12 @@ export interface CopyTask { keepDirStructure?: boolean; } +// TODO(STENCIL-882): Remove this interface [BREAKING_CHANGE] export interface BundlingConfig { + /** + * @deprecated the `namedExports` field is no longer honored by `@rollup/plugin-commonjs` and is not used by Stencil. + * This field can be safely removed from your Stencil configuration file. + */ namedExports?: { [key: string]: string[]; };