Home / File/ _config.js — svelte Source File

_config.js — svelte Source File

Architecture documentation for _config.js, a javascript file in the svelte codebase. 2 imports, 0 dependents.

Entity Profile

Dependency Diagram

graph LR
  95075e41_51e3_fb5d_419b_7332885f6c9c["_config.js"]
  fc06c886_51db_d0d2_6501_4080bb86736e["test.ts"]
  95075e41_51e3_fb5d_419b_7332885f6c9c --> fc06c886_51db_d0d2_6501_4080bb86736e
  d3dc1520_5a13_e6ad_9208_466ecffe2410["node:assert"]
  95075e41_51e3_fb5d_419b_7332885f6c9c --> d3dc1520_5a13_e6ad_9208_466ecffe2410
  style 95075e41_51e3_fb5d_419b_7332885f6c9c fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import * as assert from 'node:assert';
import { test } from '../../test';

export default test({
	preprocess: {
		style: ({ content, attributes: { color } }) => {
			assert.equal(content, '');
			return {
				code: `div { color: ${color}; }`
			};
		}
	}
});

Domain

Dependencies

Frequently Asked Questions

What does _config.js do?
_config.js is a source file in the svelte codebase, written in javascript. It belongs to the BuildSystem domain.
What does _config.js depend on?
_config.js imports 2 module(s): node:assert, test.ts.
Where is _config.js in the architecture?
_config.js is located at packages/svelte/tests/preprocess/samples/style-self-closing/_config.js (domain: BuildSystem, directory: packages/svelte/tests/preprocess/samples/style-self-closing).

Analyze Your Own Codebase

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

Try Supermodel Free