You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`luaTarget`|`"JIT"`, `"5.3"`, `"5.2"`, `"5.1"`(default: `"JIT"`) | Specifies the Lua version you want to generate code for. |
22
-
|`noImplicitSelf`|`true`, `false` (default: `false`) | If true, treats all project files as if they were prefixed with<br />`/** @noSelfInFile **/`. |
23
-
|`noHeader`|`true`, `false` (default: `false`) | Set this to true if you don't want to include our header in the output. |
24
-
|`luaLibImport`|`"inline"`, `"require"`, `"always"`, `"none"` (default: `"require"`) | We polyfill certain JavaScript features with Lua functions, this option specifies how these functions are imported into the Lua output. |
25
-
|`sourceMapTraceback`|`true`, `false` (default: `false`) | Overrides Lua's `debug.traceback` to apply sourcemaps to Lua stacktraces. This will make error messages point to your original TypeScript code instead of the generated Lua. |
26
-
|`luaBundle`| File path (relative to the `tsconfig.json`) | Will bundle all output lua files into a single bundle file. Requires **luaBundleEntry** to be set! |
27
-
|`luaBundleEntry`| File path (relative to the `tsconfig.json`) | This should be the name/path of the TS file in your project that will serve as entry point to the bundled code. |
28
-
|`luaPlugins`|`Array<{ name: string; import?: string }>`| List of [TypeScriptToLua plugins](api/plugins.md). |
|`luaTarget`|`"JIT"`, `"5.3"`, `"5.2"`, `"5.1"`, `"universal"`(default: `"universal"`) | Specifies the Lua version you want to generate code for. Choosing `universal` makes TypeScriptToLua generate code compatible with all supported Lua targets.|
22
+
|`noImplicitSelf`|`true`, `false` (default: `false`) | If true, treats all project files as if they were prefixed with<br />`/** @noSelfInFile **/`. |
23
+
|`noHeader`|`true`, `false` (default: `false`) | Set this to true if you don't want to include our header in the output. |
24
+
|`luaLibImport`|`"inline"`, `"require"`, `"always"`, `"none"` (default: `"require"`) | We polyfill certain JavaScript features with Lua functions, this option specifies how these functions are imported into the Lua output. |
25
+
|`sourceMapTraceback`|`true`, `false` (default: `false`) | Overrides Lua's `debug.traceback` to apply sourcemaps to Lua stacktraces. This will make error messages point to your original TypeScript code instead of the generated Lua. |
26
+
|`luaBundle`| File path (relative to the `tsconfig.json`) | Will bundle all output lua files into a single bundle file. Requires **luaBundleEntry** to be set! |
27
+
|`luaBundleEntry`| File path (relative to the `tsconfig.json`) | This should be the name/path of the TS file in your project that will serve as entry point to the bundled code. |
28
+
|`luaPlugins`|`Array<{ name: string; import?: string }>`| List of [TypeScriptToLua plugins](api/plugins.md). |
0 commit comments