Home / File/ string-literal-sourcemap.ts — vite Source File

string-literal-sourcemap.ts — vite Source File

Architecture documentation for string-literal-sourcemap.ts, a typescript file in the vite codebase.

Entity Profile

Relationship Graph

Source Code

// This file contains sourceMappingURL pattern in string literals
// which should not crash the module runner

const text = '//# sourceMappingURL=data:application/json;base64,invalidbase64'

export function getMessage() {
  return text
}

export function throwError() {
  throw new Error('Test error for stacktrace')
}

Domain

Subdomains

Frequently Asked Questions

What does string-literal-sourcemap.ts do?
string-literal-sourcemap.ts is a source file in the vite codebase, written in typescript. It belongs to the ViteCore domain, ConfigEngine subdomain.
What functions are defined in string-literal-sourcemap.ts?
string-literal-sourcemap.ts defines 2 function(s): getMessage, throwError.
Where is string-literal-sourcemap.ts in the architecture?
string-literal-sourcemap.ts is located at packages/vite/src/node/ssr/runtime/__tests__/fixtures/string-literal-sourcemap.ts (domain: ViteCore, subdomain: ConfigEngine, directory: packages/vite/src/node/ssr/runtime/__tests__/fixtures).

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free