module_illegal_default_export() — svelte Function Reference
Architecture documentation for the module_illegal_default_export() function in errors.js from the svelte codebase.
Entity Profile
Dependency Diagram
graph TD 47746ef3_2023_7a7b_a76e_1a087ad67079["module_illegal_default_export()"] 495501a4_a342_6a4d_ac11_e3e2fee8b218["errors.js"] 47746ef3_2023_7a7b_a76e_1a087ad67079 -->|defined in| 495501a4_a342_6a4d_ac11_e3e2fee8b218 e22cfda3_464c_3e3f_6587_81c148717256["ExportDefaultDeclaration()"] e22cfda3_464c_3e3f_6587_81c148717256 -->|calls| 47746ef3_2023_7a7b_a76e_1a087ad67079 e96115fe_8b72_b5a0_9f38_7fcb6136263b["ExportNamedDeclaration()"] e96115fe_8b72_b5a0_9f38_7fcb6136263b -->|calls| 47746ef3_2023_7a7b_a76e_1a087ad67079 style 47746ef3_2023_7a7b_a76e_1a087ad67079 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/svelte/src/compiler/errors.js lines 307–309
export function module_illegal_default_export(node) {
e(node, 'module_illegal_default_export', `A component cannot have a default export\nhttps://svelte.dev/e/module_illegal_default_export`);
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does module_illegal_default_export() do?
module_illegal_default_export() is a function in the svelte codebase, defined in packages/svelte/src/compiler/errors.js.
Where is module_illegal_default_export() defined?
module_illegal_default_export() is defined in packages/svelte/src/compiler/errors.js at line 307.
What calls module_illegal_default_export()?
module_illegal_default_export() is called by 2 function(s): ExportDefaultDeclaration, ExportNamedDeclaration.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free