We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e0f102e commit 08f5853Copy full SHA for 08f5853
1 file changed
.config/rollup.base.config.mjs
@@ -133,6 +133,10 @@ export default function baseConfig(extendConfig = {}) {
133
}
134
135
return {
136
+ // Disable tree-shaking to prevent incorrect removal of code.
137
+ // Without this, Rollup may incorrectly remove code that appears unused
138
+ // but is actually accessed dynamically or through other means.
139
+ treeshake: false,
140
external(rawId) {
141
const id = normalizeId(rawId)
142
const pkgName = getPackageName(
0 commit comments