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
  7545f0f1_4fab_889b_e741_5b1d978bf267["_config.js"]
  fc06c886_51db_d0d2_6501_4080bb86736e["test.ts"]
  7545f0f1_4fab_889b_e741_5b1d978bf267 --> fc06c886_51db_d0d2_6501_4080bb86736e
  d3dc1520_5a13_e6ad_9208_466ecffe2410["node:assert"]
  7545f0f1_4fab_889b_e741_5b1d978bf267 --> d3dc1520_5a13_e6ad_9208_466ecffe2410
  style 7545f0f1_4fab_889b_e741_5b1d978bf267 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: ({ attributes }) => {
			assert.deepEqual(attributes, {
				lang: 'scss'
			});
			return { code: 'PROCESSED', attributes: { sth: 'wayyyyyyyyyyyyy looooooonger' } };
		}
	}
});

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-attributes-modified-longer/_config.js (domain: BuildSystem, directory: packages/svelte/tests/preprocess/samples/style-attributes-modified-longer).

Analyze Your Own Codebase

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

Try Supermodel Free