MCPcopy
hub / github.com/refined-github/refined-github / onwarn

Function onwarn

rollup.config.js:70–79  ·  view source on GitHub ↗
(warning, defaultHandler)

Source from the content-addressed store, hash-verified

68 // TODO: Drop after https://github.com/sindresorhus/memoize/issues/102
69 context: 'globalThis',
70 onwarn(warning, defaultHandler) {
71 if (
72 warning.code === 'CIRCULAR_DEPENDENCY'
73 && warning.ids?.every(id => id.includes('/svelte/'))
74 ) {
75 return;
76 }
77
78 defaultHandler(warning);
79 },
80
81 plugins: [
82 del({

Callers

nothing calls this directly

Calls 1

includesMethod · 0.80

Tested by

no test coverage detected