Skip to content

Commit

Permalink
fix(rollup-config): deprecate BundlingConfig#namedExports
Browse files Browse the repository at this point in the history
this commit deprecates the `namedExports` field on the `BundlingConfig`
interface. `@rollup/plugin-commonjs` no longer honors this field as of
rollup/plugins@5d2dcf4.

Fixes: #2523

STENCIL-867
  • Loading branch information
rwaskiewicz committed Jun 30, 2023
1 parent aa46300 commit 6c12ce9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/declarations/stencil-public-compiler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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[];
};
Expand Down

0 comments on commit 6c12ce9

Please sign in to comment.