Urara-Blog/node_modules/.pnpm-store/v3/files/e4/35e3dca927fa5daaa7f30e607b26e31cd24c2ad4ccfd3e1c02b18ef11dc95b3a707084bd5bf2870abd4958b415ada8ce510efeb5d674d6867cc7fc997812ff
2022-08-14 01:14:53 +08:00

34 lines
741 B
Text

'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;