We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db5e625 commit bc38a3dCopy full SHA for bc38a3d
scripts/rollup/build.js
@@ -564,7 +564,8 @@ async function createBundle(bundle, bundleType) {
564
const rollupConfig = {
565
input: resolvedEntry,
566
treeshake: {
567
- pureExternalModules,
+ moduleSideEffects: (id, external) =>
568
+ !(external && pureExternalModules.includes(id)),
569
},
570
external(id) {
571
const containsThisModule = pkg => id === pkg || id.startsWith(pkg + '/');
0 commit comments