inline
Bundles build input for server-side tooling.
Table of contents
Category
Value
Import
jsimport { inline } from "valyrian.js/node";Public signature
ts(file: string | { raw: string; map?: string | null; file: string; }, options?: Record<string, any>): Promise<{ raw: string; map: string | null; file: string; }>Parameters
tsfile: string | { raw: string; map?: string | null; file: string; }, options?: Record<string, any>Result
tsPromise<{ raw: string; map: string | null; file: string; }>Observable effects
Accepts a file path or an object with raw source and file metadata. Options control type validation, noValidate, source maps and CSS handling before it resolves { raw, map, file }.
Errors
Rejects unknown file types and transformation errors.