文件操作 - webpack-like-CcGmGwl8.cjs
返回文件管理
返回主菜单
删除本文件
文件: /var/www/OLD/node_modules/unplugin/dist/webpack-like-CcGmGwl8.cjs
编辑文件内容
"use strict"; const require_context = require('./context-DpcDg_HU.cjs'); const node_path = require_context.__toESM(require("node:path")); //#region src/utils/webpack-like.ts function transformUse(data, plugin, transformLoader) { if (data.resource == null) return []; const id = normalizeAbsolutePath(data.resource + (data.resourceQuery || "")); if (!plugin.transformInclude || plugin.transformInclude(id)) return [{ loader: transformLoader, options: { plugin }, ident: plugin.name }]; return []; } function normalizeAbsolutePath(path) { if ((0, node_path.isAbsolute)(path)) return (0, node_path.normalize)(path); else return path; } //#endregion Object.defineProperty(exports, 'normalizeAbsolutePath', { enumerable: true, get: function () { return normalizeAbsolutePath; } });Object.defineProperty(exports, 'transformUse', { enumerable: true, get: function () { return transformUse; } });
修改文件时间
将文件时间修改为当前时间的前一年
删除文件