_config.js — svelte Source File
Architecture documentation for _config.js, a javascript file in the svelte codebase. 1 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 97c06da6_0844_71bf_1e22_2f9bf1ba788b["_config.js"] 032186a9_8a8b_b603_4335_6ade22d767cb["test.ts"] 97c06da6_0844_71bf_1e22_2f9bf1ba788b --> 032186a9_8a8b_b603_4335_6ade22d767cb style 97c06da6_0844_71bf_1e22_2f9bf1ba788b fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import { test } from '../../test';
export default test({
preprocess: [
{
style: ({ content }) => {
// Modified without source map
return { code: content + ' ' };
},
script: ({ content }) => {
// Not modified
return { code: content };
}
}
],
client: [],
preprocessed: [
// markup (start)
'<script>',
// script content (preprocessed without map, content not changed)
'console.log(name);',
// markup (middle)
'<div>{name}</div>',
// style content (preprocessed without map, content changed)
{ str: 'font-weight: bold;', strGenerated: null },
// markup (end)
'</style>'
]
});
Domain
Dependencies
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 1 module(s): test.ts.
Where is _config.js in the architecture?
_config.js is located at packages/svelte/tests/sourcemaps/samples/preprocessed-no-map/_config.js (domain: BuildSystem, directory: packages/svelte/tests/sourcemaps/samples/preprocessed-no-map).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free