rawCache.js 669 B

123456789101112131415161718192021222324252627282930313233343536
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", {
  3. value: true
  4. });
  5. exports.default = void 0;
  6. const pluginCreator = () => {
  7. return {
  8. postcssPlugin: 'cssnano-util-raw-cache',
  9. OnceExit(css, {
  10. result
  11. }) {
  12. result.root.rawCache = {
  13. colon: ':',
  14. indent: '',
  15. beforeDecl: '',
  16. beforeRule: '',
  17. beforeOpen: '',
  18. beforeClose: '',
  19. beforeComment: '',
  20. after: '',
  21. emptyBody: '',
  22. commentLeft: '',
  23. commentRight: ''
  24. };
  25. }
  26. };
  27. };
  28. pluginCreator.postcss = true;
  29. var _default = pluginCreator;
  30. exports.default = _default;
  31. module.exports = exports.default;