From 6c12ce931bbb841826cc4fb4cfcd2858e4b790dd Mon Sep 17 00:00:00 2001 From: Ryan Waskiewicz Date: Fri, 30 Jun 2023 10:05:01 -0400 Subject: [PATCH] fix(rollup-config): deprecate BundlingConfig#namedExports 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[]; };