Skip to content

Commit 6557844

Browse files
committed
let rollup tree-shake NPM packages
1 parent fb62634 commit 6557844

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

rollup/npmHelpers.js

-6
Original file line numberDiff line numberDiff line change
@@ -95,12 +95,6 @@ export function makeBaseNPMConfig(options = {}) {
9595
...Object.keys(packageDotJSON.dependencies || {}),
9696
...Object.keys(packageDotJSON.peerDependencies || {}),
9797
],
98-
99-
// TODO `'smallest'` will get rid of `isDebugBuild()` by evaluating it and inlining the result and then treeshaking
100-
// from there. The current setting (false) prevents this, in case we want to leave it there for users to use in
101-
// their own bundling. That said, we don't yet know for sure that that works, so come back to this.
102-
// treeshake: 'smallest',
103-
treeshake: false,
10498
};
10599

106100
return deepMerge(defaultBaseConfig, packageSpecificConfig, {

0 commit comments

Comments
 (0)