release: v0.1.0 package exports, CLI, integration guide, and AI rules template

This commit is contained in:
szy73711 committed 2026-11-29 00:31:10 +08:00
1 parent c0ac6eaad6
commit 1f76bca55c
8 files changed
+500 -33

No files matched your search

+2 -2
View File
@@ -299,7 +299,7 @@ StartCoroutine(this, () => {
"noHeader": true,
"sourceMapTraceback": false,
"luaPlugins": [
{ "name": "./dist/plugin/index.js" }
{ "name": "ts2lua-unreal" }
]
}
}
@@ -308,7 +308,7 @@ StartCoroutine(this, () => {
> **说明**:
> - `luaTarget`:已对齐 `UnrealLuaDemo` 配置(`LuaVersion=lua-5.4.3`),锁定为 `"5.4"`。
> - `skipLibCheck`:大型 UE 项目必须设为 `true`,跳过对庞大 UE `.d.ts` 的重复语义校验,显著加快冷启动编译速度。
> - `luaPlugins`:加载预编译后的 JS 插件(`./dist/plugin/index.js`),避免运行时动态转译插件带来额外启动耗时。
> - `luaPlugins`:外部 UE 项目直接通过 `"extends": "ts2lua-unreal/tsconfig.base.json"` 自动继承 `"ts2lua-unreal"` 插件(加载预编译后的 JS 插件,零运行时动态转译开销)。
> - `luaLibImport`:设为 `"require-minimal"`,并由自定义插件进一步审计允许引入的 lualib 符号白名单。
> - `sourceMapTraceback`:开发期可按需开启便于排查堆栈,发布包(Shipping)务必关闭以减少开销。