_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 da59566b_7772_9029_14a1_b7f714be2f0d["_config.js"] 654af6d6_2570_6860_f8dd_6b6131e1eec4["test.ts"] da59566b_7772_9029_14a1_b7f714be2f0d --> 654af6d6_2570_6860_f8dd_6b6131e1eec4 style da59566b_7772_9029_14a1_b7f714be2f0d fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import { test } from '../../test';
export default test({
mode: ['client', 'server'], // output is correct, but test suite chokes on the extra ssr comment which is harmless
withoutNormalizeHtml: 'only-strip-comments', // because whitespace inside pre tags is significant
// Note how we're testing against target.innerHTML which already removed the redundant first newline
html: `<pre id="pre"> A
B
<span>
C
D
</span>
E
F
</pre> <div id="div">A
B <span>C
D</span> E
F</div> <div id="div-with-pre"><pre> A
B
<span>
C
D
</span>
E
F
</pre></div> <div id="pre-with-leading-newline"><pre>leading newline</pre> <pre> leading newline and spaces</pre> <pre>
leading newlines</pre></div> <div id="pre-without-leading-newline"><pre>without spaces</pre> <pre> with spaces </pre> <pre>${' '}
newline after leading space</pre></div> <pre id="pre-with-multiple-leading-newlines">
multiple leading newlines</pre>`
});
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/runtime-legacy/samples/pre-tag/_config.js (domain: BuildSystem, directory: packages/svelte/tests/runtime-legacy/samples/pre-tag).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free