✏️ 编辑:rawCache.js
路径:
/home/boguraj1/public_html/jobsite/node_modules/cssnano-utils/src/rawCache.js
大小:741 B · 修改:2022-11-21 20:08:16 · 权限:0644 · 可写
← 返回目录
👁 查看
⬇ 下载
'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;
💾 保存
取消
保存为 UTF-8,换行统一为 LF