文件操作 - index.d.ts
返回文件管理
返回主菜单
删除本文件
文件: /var/www/OLD/node_modules/webpack-virtual-modules/lib/index.d.ts
编辑文件内容
import type { Compiler } from 'webpack'; declare const ALL = "all"; declare const STATIC = "static"; declare const DYNAMIC = "dynamic"; declare type AvailableModules = typeof ALL | typeof STATIC | typeof DYNAMIC; declare class VirtualModulesPlugin { private _staticModules; private _compiler; private _watcher; constructor(modules?: Record<string, string>); getModuleList(filter?: AvailableModules): {}; writeModule(filePath: string, contents: string): void; apply(compiler: Compiler): void; } export = VirtualModulesPlugin;
修改文件时间
将文件时间修改为当前时间的前一年
删除文件