Skip to content

Commit

Permalink
Squelch Rollup warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
mbostock committed Nov 17, 2019
1 parent addc21f commit f8c53bf
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,11 @@ const config = {
banner: `// ${meta.homepage} v${meta.version} Copyright ${(new Date).getFullYear()} ${meta.author.name}`,
globals: Object.assign({}, ...Object.keys(meta.dependencies || {}).filter(key => /^d3-/.test(key)).map(key => ({[key]: "d3"})))
},
plugins: []
plugins: [],
onwarn(message, warn) {
if (message.code === "CIRCULAR_DEPENDENCY") return;
warn(message);
}
};

export default [
Expand Down

0 comments on commit f8c53bf

Please sign in to comment.