https://github.com/dnrovs/tstl-bundle-require-lualib
Require external LuaLib bundle when bundling TypeScriptToLua
https://github.com/dnrovs/tstl-bundle-require-lualib
Last synced: 4 months ago
JSON representation
Require external LuaLib bundle when bundling TypeScriptToLua
- Host: GitHub
- URL: https://github.com/dnrovs/tstl-bundle-require-lualib
- Owner: dnrovs
- License: mit
- Created: 2026-03-22T11:41:38.000Z (4 months ago)
- Default Branch: master
- Last Pushed: 2026-03-22T21:37:54.000Z (4 months ago)
- Last Synced: 2026-03-23T03:19:35.677Z (4 months ago)
- Language: TypeScript
- Size: 18.6 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# TSTL Bundle Require LuaLib
Require external `lualib_bundle` instead of including it in the code when bundling with TypeScriptToLua.
## Example
tsconfig.json
```json
{
"compilerOptions": { },
"tstl": {
"luaBundle": "Main.lua",
"luaBundleEntry": "src/Main.ts",
"luaLibImport": "none",
"luaPlugins": [
{
"name": "tstl-bundle-require-lualib",
"luaLibName": "optional_custom_require_name"
}
]
}
}
```