Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/NativeScript/NativeScript
/ onwarn
Function
onwarn
packages/webpack5/src/configuration/svelte.ts:82–86 ·
view source on GitHub ↗
(warning, warn)
Source
from the content-addressed store, hash-verified
80
},
81
// Suppress A11y warnings
82
onwarn(warning, warn) {
83
if
(!/A11y:/.test(warning.message)) {
84
warn(warning);
85
}
86
},
87
};
88
});
89
}
Callers
nothing calls this directly
Calls
2
warn
Function · 0.50
test
Method · 0.45
Tested by
no test coverage detected