File tree Expand file tree Collapse file tree 2 files changed +28
-0
lines changed
versioned_docs/version-v4.40/config Expand file tree Collapse file tree 2 files changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -108,6 +108,20 @@ Stencil will cache build results in order to speed up rebuilds. To disable this
108108enableCache : true
109109```
110110
111+ ## excludeComponents
112+
113+ * default: ` [] ` *
114+
115+ An array of component tag names to exclude from production builds.
116+ Useful to remove test, demo or experimental components from final output.
117+
118+ Supports glob patterns for matching multiple components:
119+ - ` ['demo-*'] ` - Excludes all components starting with "demo-"
120+ - ` ['*-test', '*-demo'] ` - Excludes components ending with "-test" or "-demo"
121+ - ` ['my-component'] ` - Excludes a specific component
122+
123+ Components matching these patterns will be completely excluded from all output targets when * not* using the ` --dev ` flag.
124+
111125## extras
112126
113127Please see the [ Extras docs] ( ./extras.md ) .
Original file line number Diff line number Diff line change @@ -108,6 +108,20 @@ Stencil will cache build results in order to speed up rebuilds. To disable this
108108enableCache : true
109109```
110110
111+ ## excludeComponents
112+
113+ * default: ` [] ` *
114+
115+ An array of component tag names to exclude from production builds.
116+ Useful to remove test, demo or experimental components from final output.
117+
118+ Supports glob patterns for matching multiple components:
119+ - ` ['demo-*'] ` - Excludes all components starting with "demo-"
120+ - ` ['*-test', '*-demo'] ` - Excludes components ending with "-test" or "-demo"
121+ - ` ['my-component'] ` - Excludes a specific component
122+
123+ Components matching these patterns will be completely excluded from all output targets when * not* using the ` --dev ` flag.
124+
111125## extras
112126
113127Please see the [ Extras docs] ( ./extras.md ) .
You can’t perform that action at this time.
0 commit comments