Skip to content

Commit 367fa6b

Browse files
committed
warn
1 parent 35ff241 commit 367fa6b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/svelte/scripts/check-treeshakeability.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ async function bundle_code(entry) {
1717
})
1818
],
1919
onwarn: (warning, handle) => {
20-
// if (warning.code !== 'EMPTY_BUNDLE') handle(warning);
20+
if (warning.code !== 'EMPTY_BUNDLE' && warning.code !== 'CIRCULAR_DEPENDENCY') {
21+
handle(warning);
22+
}
2123
}
2224
});
2325

0 commit comments

Comments
 (0)