UNPKG

@storm-stack/core

Version:

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

47 lines (44 loc) 1.42 kB
import { L as LogFn, C as Context, e as SourceFile, c as CompilerOptions } from '../babel-CtjWp6AQ.js'; import '@babel/core'; import '@stryke/types/base'; import 'magic-string'; import '@storm-software/config-tools/types'; import '@stryke/types/configuration'; import 'esbuild'; import 'hookable'; import 'vite'; import '@rspack/core'; import '@storm-software/build-tools/types'; import '@storm-software/config/types'; import '@storm-software/esbuild/types'; import '@storm-software/unbuild/types'; import 'c12'; import 'rolldown'; import 'rollup'; import 'webpack'; import '@storm-stack/core/deepkit/type'; import '@stryke/env/get-env-paths'; import '@stryke/types/package-json'; import 'jest-worker'; import 'jiti'; import 'unimport'; import '../reflection-DTM1oT21.js'; import '@stryke/capnp'; import 'semver'; import '../tsconfig-DWrxucuq.js'; import '@stryke/types/tsconfig'; import 'typescript'; import 'memfs'; import 'node:fs'; import 'unionfs'; /** * Transform the code using the Storm Stack Babel plugin. * * @param log - The logging function to use. * @param context - The context of the transformation. * @param source - The source file to transform. * @param options - The options for the transformation. * @returns The transformed source file. */ declare function transform(log: LogFn, context: Context, source: SourceFile, options?: CompilerOptions): Promise<SourceFile>; export { transform };