mirror of
https://github.com/hanzoai/vite.git
synced 2026-10-30 19:36:16 +00:00
12 lines
165 B
JavaScript
12 lines
165 B
JavaScript
const key = '$$excludedDependencyInstanceCount'
|
|
|
|
if (!(key in window)) {
|
|
window[key] = 0
|
|
}
|
|
|
|
++window[key]
|
|
|
|
export function testExcluded() {
|
|
return window[key]
|
|
}
|