Home / Function/ options_missing_custom_element() — svelte Function Reference

options_missing_custom_element() — svelte Function Reference

Architecture documentation for the options_missing_custom_element() function in warnings.js from the svelte codebase.

Entity Profile

Dependency Diagram

graph TD
  b2576b79_8f81_95bb_555f_1a1aae012160["options_missing_custom_element()"]
  56a689f9_11c0_cc76_bd60_41bb6dc96475["warnings.js"]
  b2576b79_8f81_95bb_555f_1a1aae012160 -->|defined in| 56a689f9_11c0_cc76_bd60_41bb6dc96475
  78a6ba9a_5003_f569_a638_76e4f1977809["analyze_component()"]
  78a6ba9a_5003_f569_a638_76e4f1977809 -->|calls| b2576b79_8f81_95bb_555f_1a1aae012160
  style b2576b79_8f81_95bb_555f_1a1aae012160 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/svelte/src/compiler/warnings.js lines 561–563

export function options_missing_custom_element(node) {
	w(node, 'options_missing_custom_element', `The \`customElement\` option is used when generating a custom element. Did you forget the \`customElement: true\` compile option?\nhttps://svelte.dev/e/options_missing_custom_element`);
}

Domain

Subdomains

Frequently Asked Questions

What does options_missing_custom_element() do?
options_missing_custom_element() is a function in the svelte codebase, defined in packages/svelte/src/compiler/warnings.js.
Where is options_missing_custom_element() defined?
options_missing_custom_element() is defined in packages/svelte/src/compiler/warnings.js at line 561.
What calls options_missing_custom_element()?
options_missing_custom_element() is called by 1 function(s): analyze_component.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free