@antv/dumi-theme-antv 0.6.1 → 0.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -48,6 +48,16 @@ var plugin_default = (api) => {
48
48
  memo.mfsu = false;
49
49
  memo.jsMinifier = "terser";
50
50
  memo.favicons = ["https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*7svFR6wkPMoAAAAAAAAAAAAADmJ7AQ/original"];
51
+ memo.headScripts = [
52
+ { src: "https://ur.alipay.com/tracert_a369.js", async: true },
53
+ {
54
+ content: `
55
+ window.TracertCmdCache=window.TracertCmdCache||[];var t=window.Tracert||{_isRenderInit:!0,call:function(){window.TracertCmdCache.push(arguments)}},f=["call","start","config","logPv","info","err","click","expo","pageName","pageState","time","timeEnd","parse","checkExpo","stringify","report","set","before"];for(let i=0;i<f.length;i++){(function(fn){t[fn]=function(){var a=[],l=arguments.length;for (var j=0;j<l;j++) {a.push(arguments[j])}a.unshift(fn);window.TracertCmdCache.push(a)}})(f[i])}window.Tracert=t;window._to=window._to||{};
56
+ window.Tracert.start({});
57
+ `,
58
+ charset: "utf-8"
59
+ }
60
+ ];
51
61
  memo.extraRehypePlugins = [import_rehypeObservable.default];
52
62
  return memo;
53
63
  });
@@ -60,9 +60,11 @@ function rehypeObservable() {
60
60
  {
61
61
  type: "element",
62
62
  tagName: "p",
63
+ // @ts-ignore
63
64
  properties: { meta: node.data.meta },
64
65
  children: []
65
66
  },
67
+ // @ts-ignore
66
68
  { ...node }
67
69
  ]
68
70
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antv/dumi-theme-antv",
3
- "version": "0.6.1",
3
+ "version": "0.6.2",
4
4
  "description": "AntV website theme based on dumi2.",
5
5
  "keywords": [
6
6
  "dumi",