Skip to content

Commit

Permalink
fix(rollup-config): deprecate BundlingConfig#namedExports (#4532)
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 Jul 13, 2023
1 parent 538766b commit a353769
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/declarations/stencil-public-compiler.ts
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 a353769

Please sign in to comment.