syntaxes.js 390 B

123456789101112131415
  1. "use strict";
  2. const postcssParse = require("postcss/lib/parse");
  3. const postcssStringify = require("postcss/lib/stringify");
  4. const postcssSafeParser = require("postcss-safe-parser");
  5. const cssSyntax = {
  6. parse: postcssParse,
  7. stringify: postcssStringify,
  8. };
  9. const cssSafeSyntax = {
  10. parse: postcssSafeParser,
  11. stringify: postcssStringify,
  12. };
  13. module.exports = { cssSyntax, cssSafeSyntax };