_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 d1f2181f_e3fb_c2bf_2748_ab0ff3e23704["_config.js"] fc06c886_51db_d0d2_6501_4080bb86736e["test.ts"] d1f2181f_e3fb_c2bf_2748_ab0ff3e23704 --> fc06c886_51db_d0d2_6501_4080bb86736e d3dc1520_5a13_e6ad_9208_466ecffe2410["node:assert"] d1f2181f_e3fb_c2bf_2748_ab0ff3e23704 --> d3dc1520_5a13_e6ad_9208_466ecffe2410 style d1f2181f_e3fb_c2bf_2748_ab0ff3e23704 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',
'data-foo': 'bar',
bool: true
});
return { code: 'PROCESSED', attributes: { sth: 'else' } };
}
}
});
Domain
Dependencies
- node:assert
- test.ts
Source
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/_config.js (domain: BuildSystem, directory: packages/svelte/tests/preprocess/samples/style-attributes-modified).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free