您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

node.js 446B

12345678910111213141516171819
  1. import { minify } from "../lib/minify";
  2. export function default_options() {
  3. const defs = {};
  4. Object.keys(infer_options({ 0: 0 })).forEach((component) => {
  5. const options = infer_options({
  6. [component]: {0: 0}
  7. });
  8. if (options) defs[component] = options;
  9. });
  10. return defs;
  11. }
  12. function infer_options(options) {
  13. var result = minify("", options);
  14. return result.error && result.error.defs;
  15. }