tfm-tstl-plugin
v1.2.0
Published
Provides the plugin for bundling TypeScriptToLua code into Transformice-compatible Lua code.
Downloads
2
Readme
tfm-tstl-plugin
Provides the plugin for bundling TypeScriptToLua code into Transformice-compatible Lua code.
Recommend coupling this plugin with tfm-tstl-types to extend Intellisense with Transformice environment definition.
Install
- Get this package from npm
npm install -D tfm-tstl-plugin
# or
yarn add -D tfm-tstl-plugin
- Modify your tsconfig.json
{
"tstl": {
"buildMode": "default",
"luaBundle": "bundle.lua",
"luaBundleEntry": "src/main.ts",
"luaPlugins": [
+ {"name": "tfm-tstl-plugin"}
],
"luaTarget": "5.2"
}
}