@lark-apaas/coding-html-devserver 0.1.10 → 0.1.11-alpha.20260907133259

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.
@@ -99,12 +99,31 @@ function slardarTags(options = {}) {
99
99
  const { bid = 'apaas_miaoda', globalName = 'KSlardarWeb' } = options;
100
100
  return [
101
101
  // 必须最先:内联资源错误捕获 + KSlardarWeb 命令队列 stub
102
- { tag: 'script', children: buildEarlyResourceErrorScript(globalName), injectTo: 'head-prepend' },
103
- { tag: 'script', children: buildSlardarScript(bid, globalName), injectTo: 'head-prepend' },
102
+ {
103
+ tag: 'script',
104
+ children: buildEarlyResourceErrorScript(globalName),
105
+ injectTo: 'head-prepend',
106
+ },
107
+ {
108
+ tag: 'script',
109
+ children: buildSlardarScript(bid, globalName),
110
+ injectTo: 'head-prepend',
111
+ },
112
+ {
113
+ tag: 'script',
114
+ attrs: {
115
+ src: 'https://sf3-scmcdn-cn.feishucdn.com/obj/unpkg/byted/performance/0.2.3/dist/performance.iife.js',
116
+ 'data-app-name': 'builderV3',
117
+ crossorigin: 'anonymous',
118
+ defer: true,
119
+ },
120
+ injectTo: 'head-prepend',
121
+ },
104
122
  {
105
123
  tag: 'script',
106
124
  attrs: {
107
- src: 'https://sf3-scmcdn-cn.feishucdn.com/obj/unpkg/byted/performance/0.1.2/dist/performance.iife.js',
125
+ src: 'https://sf3-scmcdn-cn.feishucdn.com/obj/unpkg/byted/performance/0.2.3/dist/memory.iife.js',
126
+ 'data-app-name': 'builderV3',
108
127
  crossorigin: 'anonymous',
109
128
  defer: true,
110
129
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lark-apaas/coding-html-devserver",
3
- "version": "0.1.10",
3
+ "version": "0.1.11-alpha.20260907133259",
4
4
  "description": "Dev/build toolchain for the miaoda-coding html (pure HTML) stack. Wraps vite (dev + HMR) behind a bin so the template never sees vite; build is pure-copy + platform-script injection + optional minify.",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",