MCPcopy Create free account
hub / github.com/taye/interact.js / shouldIgnoreImport

Function shouldIgnoreImport

scripts/utils.js:103–105  ·  view source on GitHub ↗
(sourceValue)

Source from the content-addressed store, hash-verified

101}
102
103function shouldIgnoreImport(sourceValue) {
104 return !/^(\.{1-2}|(@interactjs))[\\/]/.test(sourceValue)
105}
106
107const isPro = process.env.INTERACTJS_TIER === 'pro'
108const registryUrl = isPro ? 'https://registry.interactjs.io' : undefined

Callers 2

fixImportSourceFunction · 0.50
fixImportSourceFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected