Skip to content

Commit c56638c

Browse files
authored
chore: supress known d3 circular dep warnings (#1840)
1 parent df59ab1 commit c56638c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

commands/build/lib/config.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,10 @@ const config = ({
175175
if (warning.code === 'MODULE_LEVEL_DIRECTIVE' && warning.message.includes(`"use client"`)) {
176176
return;
177177
}
178+
// https://github.com/d3/d3-interpolate/issues/58
179+
if (/Circular dependency.*d3-*/.test(warning.message)) {
180+
return;
181+
}
178182
warn(warning);
179183
},
180184
input: path.resolve(CWD, 'src/index'),

0 commit comments

Comments
 (0)