文件操作 - index.d.ts
返回文件管理
返回主菜单
删除本文件
文件: /var/www/OLD/node_modules/@rollup/plugin-inject/types/index.d.ts
编辑文件内容
import type { Plugin } from 'rollup'; type Injectment = string | [string, string]; export interface RollupInjectOptions { /** * All other options are treated as `string: injectment` injectrs, * or `string: (id) => injectment` functions. */ [str: string]: | Injectment | RollupInjectOptions['include'] | RollupInjectOptions['sourceMap'] | RollupInjectOptions['modules']; /** * A picomatch pattern, or array of patterns, of files that should be * processed by this plugin (if omitted, all files are included by default) */ include?: string | RegExp | ReadonlyArray<string | RegExp> | null; /** * Files that should be excluded, if `include` is otherwise too permissive. */ exclude?: string | RegExp | ReadonlyArray<string | RegExp> | null; /** * If false, skips source map generation. This will improve performance. * @default true */ sourceMap?: boolean; /** * You can separate values to inject from other options. */ modules?: { [str: string]: Injectment }; } /** * inject strings in files while bundling them. */ export default function inject(options?: RollupInjectOptions): Plugin;
修改文件时间
将文件时间修改为当前时间的前一年
删除文件