Home / File/ client-warnings.js — svelte Source File

client-warnings.js — svelte Source File

Architecture documentation for client-warnings.js, a javascript file in the svelte codebase. 1 imports, 0 dependents.

File javascript BuildSystem QualityControl 1 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  5b7e94f8_343d_00d3_ed14_34a61fbe6eea["client-warnings.js"]
  c9866d91_a204_fa55_a9e3_6bcc6aaaec1e["esm-env"]
  5b7e94f8_343d_00d3_ed14_34a61fbe6eea --> c9866d91_a204_fa55_a9e3_6bcc6aaaec1e
  style 5b7e94f8_343d_00d3_ed14_34a61fbe6eea fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { DEV } from 'esm-env';

var bold = 'font-weight: bold';
var normal = 'font-weight: normal';

/**
 * MESSAGE
 * @param {string} PARAMETER
 */
export function CODE(PARAMETER) {
	if (DEV) {
		console.warn(
			`%c[svelte] ${'CODE'}\n%c${MESSAGE}\nhttps://svelte.dev/e/${'CODE'}`,
			bold,
			normal
		);
	} else {
		console.warn(`https://svelte.dev/e/${'CODE'}`);
	}
}

Domain

Subdomains

Functions

Dependencies

  • esm-env

Frequently Asked Questions

What does client-warnings.js do?
client-warnings.js is a source file in the svelte codebase, written in javascript. It belongs to the BuildSystem domain, QualityControl subdomain.
What functions are defined in client-warnings.js?
client-warnings.js defines 1 function(s): CODE.
What does client-warnings.js depend on?
client-warnings.js imports 1 module(s): esm-env.
Where is client-warnings.js in the architecture?
client-warnings.js is located at packages/svelte/scripts/process-messages/templates/client-warnings.js (domain: BuildSystem, subdomain: QualityControl, directory: packages/svelte/scripts/process-messages/templates).

Analyze Your Own Codebase

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

Try Supermodel Free