UNPKG

@storm-stack/core

Version:

A build toolkit and runtime used by Storm Software in TypeScript applications

45 lines (42 loc) 1.32 kB
import { Context } from '../../types/index.js'; import '@babel/core'; import '@babel/types'; import '@storm-stack/types/shared/error'; import '@stryke/types/base'; import 'magic-string'; import '@storm-software/config-tools/types'; import '@stryke/types/configuration'; import 'hookable'; import '@storm-software/build-tools/types'; import '@storm-software/config/types'; import '@storm-software/esbuild/types'; import '@storm-software/unbuild/types'; import 'c12'; import 'esbuild'; import 'unbuild'; import '@deepkit/type'; import '../../reflection-DTM1oT21.js'; import '@stryke/capnp'; import '@storm-stack/types/shared/log'; import '@stryke/env/get-env-paths'; import '@stryke/types/package-json'; import 'jest-worker'; import 'jiti'; import 'memfs'; import 'unimport'; import '../../types/tsconfig.js'; import '@stryke/types/tsconfig'; import 'typescript'; import '../../types/vfs.js'; import 'memfs/lib/volume'; import 'node:fs'; import 'unionfs'; /** * Resolves the path of a file in the workspace or project root. * * @param context - The context object containing the environment paths. * @param file - The file path to resolve. * @returns A promise that resolves to the resolved path. */ declare function resolvePath(context: Context, file: string): Promise<string | undefined>; export { resolvePath };