@storm-stack/core
Version:
A build toolkit and runtime used by Storm Software in TypeScript applications
46 lines (43 loc) • 1.41 kB
TypeScript
import { LogFn } 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';
/**
* Writes and formats a file to the file system
*
* @param log - The logging function to use for logging errors
* @param filepath - The file path to write the file
* @param content - The content to write to the file
* @param skipFormat - Should the plugin skip formatting the `content` string with Prettier
*/
declare function writeFile(log: LogFn, filepath: string, content: string, skipFormat?: boolean): Promise<void>;
export { writeFile };