UNPKG

transform-fs-promises-webpack-plugin

Version:

A webpack plugin to transform fs promises APIs for compatible with lower Node.js versions.

18 lines (14 loc) 404 B
import type { Compiler } from "webpack"; import type { TransformOptions } from "@babel/core"; export interface Options { transformOptions?: TransformOptions; } declare class TransformFsPromisesPlugin { constructor(options?: Options); /** * Apply the plugin */ apply(compiler: Compiler): void; } export { TransformFsPromisesPlugin }; export default TransformFsPromisesPlugin;