@lark-apaas/coding-html-devserver 0.1.11-alpha.20260907133259 → 0.1.11-alpha.20260909092256
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.
- package/lib/transform/slardar.js +2 -20
- package/package.json +1 -1
package/lib/transform/slardar.js
CHANGED
|
@@ -99,16 +99,8 @@ function slardarTags(options = {}) {
|
|
|
99
99
|
const { bid = 'apaas_miaoda', globalName = 'KSlardarWeb' } = options;
|
|
100
100
|
return [
|
|
101
101
|
// 必须最先:内联资源错误捕获 + KSlardarWeb 命令队列 stub
|
|
102
|
-
{
|
|
103
|
-
|
|
104
|
-
children: buildEarlyResourceErrorScript(globalName),
|
|
105
|
-
injectTo: 'head-prepend',
|
|
106
|
-
},
|
|
107
|
-
{
|
|
108
|
-
tag: 'script',
|
|
109
|
-
children: buildSlardarScript(bid, globalName),
|
|
110
|
-
injectTo: 'head-prepend',
|
|
111
|
-
},
|
|
102
|
+
{ tag: 'script', children: buildEarlyResourceErrorScript(globalName), injectTo: 'head-prepend' },
|
|
103
|
+
{ tag: 'script', children: buildSlardarScript(bid, globalName), injectTo: 'head-prepend' },
|
|
112
104
|
{
|
|
113
105
|
tag: 'script',
|
|
114
106
|
attrs: {
|
|
@@ -119,16 +111,6 @@ function slardarTags(options = {}) {
|
|
|
119
111
|
},
|
|
120
112
|
injectTo: 'head-prepend',
|
|
121
113
|
},
|
|
122
|
-
{
|
|
123
|
-
tag: 'script',
|
|
124
|
-
attrs: {
|
|
125
|
-
src: 'https://sf3-scmcdn-cn.feishucdn.com/obj/unpkg/byted/performance/0.2.3/dist/memory.iife.js',
|
|
126
|
-
'data-app-name': 'builderV3',
|
|
127
|
-
crossorigin: 'anonymous',
|
|
128
|
-
defer: true,
|
|
129
|
-
},
|
|
130
|
-
injectTo: 'head-prepend',
|
|
131
|
-
},
|
|
132
114
|
{ tag: 'script', children: buildTeaScript(), injectTo: 'head-prepend' },
|
|
133
115
|
];
|
|
134
116
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lark-apaas/coding-html-devserver",
|
|
3
|
-
"version": "0.1.11-alpha.
|
|
3
|
+
"version": "0.1.11-alpha.20260909092256",
|
|
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",
|