Skip to content

TypeScriptToLua plugin for bundling Transformice compatible Lua code.

License

Notifications You must be signed in to change notification settings

MouseTool/tfm-tstl-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

  1. Get this package from npm
npm install -D tfm-tstl-plugin
# or
yarn add -D tfm-tstl-plugin
  1. Modify your tsconfig.json
{
  "tstl": {
    "buildMode": "default",
    "luaBundle": "bundle.lua",
    "luaBundleEntry": "src/main.ts",
    "luaPlugins": [
+      {"name": "tfm-tstl-plugin"}
    ],
    "luaTarget": "5.2"
  }
}

About

TypeScriptToLua plugin for bundling Transformice compatible Lua code.

Resources

License

Stars

Watchers

Forks

Packages

No packages published