Skip to content

Commit 9195667

Browse files
committed
fix(breadcrumb): disable attributePassing globally for Stencil to prevent Host wrapper issues
1 parent 5050153 commit 9195667

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

packages/components/configs/stencil/index.cjs

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,8 @@ const onClickPlugin = require('../plugins/on-click.cjs');
55
*/
66
module.exports = {
77
typescript: true,
8-
attributePassing: (component) => {
9-
// Disable attribute passing for breadcrumb to prevent Host wrapper generation
10-
if (component?.path?.includes('/breadcrumb/breadcrumb')) {
11-
return { enabled: false };
12-
}
13-
return {
14-
enabled: true,
15-
customRef: '_ref'
16-
};
8+
attributePassing: {
9+
enabled: false
1710
},
1811
plugins: [onClickPlugin]
1912
};

0 commit comments

Comments
 (0)