script_unknown_attribute() — svelte Function Reference
Architecture documentation for the script_unknown_attribute() function in warnings.js from the svelte codebase.
Entity Profile
Dependency Diagram
graph TD 7bbd9f62_d7a6_d625_e1bd_122f3c52ea2c["script_unknown_attribute()"] 56a689f9_11c0_cc76_bd60_41bb6dc96475["warnings.js"] 7bbd9f62_d7a6_d625_e1bd_122f3c52ea2c -->|defined in| 56a689f9_11c0_cc76_bd60_41bb6dc96475 3f7147bd_f765_d166_38e7_10f71b9fd062["read_script()"] 3f7147bd_f765_d166_38e7_10f71b9fd062 -->|calls| 7bbd9f62_d7a6_d625_e1bd_122f3c52ea2c style 7bbd9f62_d7a6_d625_e1bd_122f3c52ea2c fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/svelte/src/compiler/warnings.js lines 809–811
export function script_unknown_attribute(node) {
w(node, 'script_unknown_attribute', `Unrecognized attribute — should be one of \`generics\`, \`lang\` or \`module\`. If this exists for a preprocessor, ensure that the preprocessor removes it\nhttps://svelte.dev/e/script_unknown_attribute`);
}
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does script_unknown_attribute() do?
script_unknown_attribute() is a function in the svelte codebase, defined in packages/svelte/src/compiler/warnings.js.
Where is script_unknown_attribute() defined?
script_unknown_attribute() is defined in packages/svelte/src/compiler/warnings.js at line 809.
What calls script_unknown_attribute()?
script_unknown_attribute() is called by 1 function(s): read_script.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free