Home / Function/ import_svelte_internal_forbidden() — svelte Function Reference

import_svelte_internal_forbidden() — svelte Function Reference

Architecture documentation for the import_svelte_internal_forbidden() function in errors.js from the svelte codebase.

Entity Profile

Dependency Diagram

graph TD
  cde1d982_41ea_ad8b_d2c5_9b0fab43c443["import_svelte_internal_forbidden()"]
  495501a4_a342_6a4d_ac11_e3e2fee8b218["errors.js"]
  cde1d982_41ea_ad8b_d2c5_9b0fab43c443 -->|defined in| 495501a4_a342_6a4d_ac11_e3e2fee8b218
  f72c7999_3638_d4ad_b02b_f10540505c54["ImportDeclaration()"]
  f72c7999_3638_d4ad_b02b_f10540505c54 -->|calls| cde1d982_41ea_ad8b_d2c5_9b0fab43c443
  style cde1d982_41ea_ad8b_d2c5_9b0fab43c443 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/svelte/src/compiler/errors.js lines 226–228

export function import_svelte_internal_forbidden(node) {
	e(node, 'import_svelte_internal_forbidden', `Imports of \`svelte/internal/*\` are forbidden. It contains private runtime code which is subject to change without notice. If you're importing from \`svelte/internal/*\` to work around a limitation of Svelte, please open an issue at https://github.com/sveltejs/svelte and explain your use case\nhttps://svelte.dev/e/import_svelte_internal_forbidden`);
}

Domain

Subdomains

Frequently Asked Questions

What does import_svelte_internal_forbidden() do?
import_svelte_internal_forbidden() is a function in the svelte codebase, defined in packages/svelte/src/compiler/errors.js.
Where is import_svelte_internal_forbidden() defined?
import_svelte_internal_forbidden() is defined in packages/svelte/src/compiler/errors.js at line 226.
What calls import_svelte_internal_forbidden()?
import_svelte_internal_forbidden() is called by 1 function(s): ImportDeclaration.

Analyze Your Own Codebase

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

Try Supermodel Free