_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 f36a158e_4341_d44d_e24e_4cffcec1d43f["_config.js"] 032186a9_8a8b_b603_4335_6ade22d767cb["test.ts"] f36a158e_4341_d44d_e24e_4cffcec1d43f --> 032186a9_8a8b_b603_4335_6ade22d767cb a9bc9816_6729_4ac6_ecc3_7e33186207c6["typescript"] f36a158e_4341_d44d_e24e_4cffcec1d43f --> a9bc9816_6729_4ac6_ecc3_7e33186207c6 style f36a158e_4341_d44d_e24e_4cffcec1d43f fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import * as ts from 'typescript';
import { test } from '../../test';
export default test({
preprocess: [
{
script: ({ content, filename }) => {
const { outputText, sourceMapText } = ts.transpileModule(content, {
fileName: filename,
compilerOptions: {
target: ts.ScriptTarget.ES2015,
module: ts.ModuleKind.ES2015,
sourceMap: true
}
});
return {
code: outputText,
map: sourceMapText
};
}
}
],
client: ['count', 'setInterval'],
preprocessed: [
{ str: 'let count: number = 0;', strGenerated: 'let count = 0;' },
{ str: 'ITimeoutDestroyer', strGenerated: null },
'<h1>Hello world!</h1>'
]
});
Domain
Dependencies
- test.ts
- typescript
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): test.ts, typescript.
Where is _config.js in the architecture?
_config.js is located at packages/svelte/tests/sourcemaps/samples/typescript/_config.js (domain: BuildSystem, directory: packages/svelte/tests/sourcemaps/samples/typescript).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free