_config.js — svelte Source File
Architecture documentation for _config.js, a javascript file in the svelte codebase. 5 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 68769e35_fb80_8766_de4e_57c115dc7274["_config.js"] 032186a9_8a8b_b603_4335_6ade22d767cb["test.ts"] 68769e35_fb80_8766_de4e_57c115dc7274 --> 032186a9_8a8b_b603_4335_6ade22d767cb 740dc682_957b_322a_475e_aac0e8ee02bc["helpers.js"] 68769e35_fb80_8766_de4e_57c115dc7274 --> 740dc682_957b_322a_475e_aac0e8ee02bc f63dfb1f_0f71_c394_6a93_89f93b04f5eb["magic_string_preprocessor_result"] 68769e35_fb80_8766_de4e_57c115dc7274 --> f63dfb1f_0f71_c394_6a93_89f93b04f5eb 7f99a384_e0e9_ba03_93cc_da62552bcef7["magic_string_replace_all"] 68769e35_fb80_8766_de4e_57c115dc7274 --> 7f99a384_e0e9_ba03_93cc_da62552bcef7 6bc9684c_1a71_1bdf_8ee4_8d5d204604b3["magic-string"] 68769e35_fb80_8766_de4e_57c115dc7274 --> 6bc9684c_1a71_1bdf_8ee4_8d5d204604b3 style 68769e35_fb80_8766_de4e_57c115dc7274 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import MagicString from 'magic-string';
import { test } from '../../test';
import { magic_string_preprocessor_result, magic_string_replace_all } from '../../helpers.js';
export default test({
preprocess: {
style: ({ content, filename = '' }) => {
const src = new MagicString(content);
magic_string_replace_all(src, 'baritone', 'bar');
return magic_string_preprocessor_result(filename, src);
}
},
css: [{ str: '--baritone: red', strGenerated: '--bar: red' }, '--baz: blue']
});
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 5 module(s): helpers.js, magic-string, magic_string_preprocessor_result, magic_string_replace_all, test.ts.
Where is _config.js in the architecture?
_config.js is located at packages/svelte/tests/sourcemaps/samples/preprocessed-styles/_config.js (domain: BuildSystem, directory: packages/svelte/tests/sourcemaps/samples/preprocessed-styles).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free