文件操作 - rawCache.js
返回文件管理
返回主菜单
删除本文件
文件: /var/www/OLD/node_modules/cssnano-utils/src/rawCache.js
编辑文件内容
'use strict'; /** * @type {import('postcss').PluginCreator<void>} * @return {import('postcss').Plugin} */ function pluginCreator() { return { postcssPlugin: 'cssnano-util-raw-cache', /** * @param {import('postcss').Root} css * @param {{result: import('postcss').Result & {root: {rawCache?: any}}}} arg */ OnceExit(css, { result }) { result.root.rawCache = { colon: ':', indent: '', beforeDecl: '', beforeRule: '', beforeOpen: '', beforeClose: '', beforeComment: '', after: '', emptyBody: '', commentLeft: '', commentRight: '', }; }, }; } pluginCreator.postcss = true; module.exports = pluginCreator;
修改文件时间
将文件时间修改为当前时间的前一年
删除文件