fix ci
Publish to npm / publish (push) Failing after 10s

This commit is contained in:
2026-04-08 01:51:14 +08:00
parent d7aa0f171d
commit df0d7a4fe3
+5
View File
@@ -13,5 +13,10 @@ export default defineConfig({
rollupOptions: {
// 不再需要 external,使用原生 fetch
}
},
define: {
// SimApiVersion 由构建注入,AppVersion 留给调用方 APP 注入
// 使用方式: npm run build -- --SimApiVersion=1.0.0
'SimApiVersion': JSON.stringify(process.env.npm_config_SimApiVersion || '0.0.0-develop'),
}
})