25 lines
747 B
JSON
25 lines
747 B
JSON
|
// The configuration file for TypeScript
|
||
|
{
|
||
|
// We extend the standard IsaacScript config
|
||
|
// https://github.com/IsaacScript/isaacscript-tsconfig/blob/main/tsconfig.mod.json
|
||
|
"extends": "isaacscript-tsconfig/tsconfig.mod.json",
|
||
|
|
||
|
// https://www.typescriptlang.org/docs/handbook/compiler-options.html
|
||
|
"compilerOptions": {
|
||
|
// Specifies the root folder within your source files
|
||
|
"rootDir": "./src",
|
||
|
},
|
||
|
|
||
|
// A list of the TypeScript files to compile
|
||
|
"include": [
|
||
|
"./src/**/*.ts",
|
||
|
],
|
||
|
|
||
|
// TypeScriptToLua settings
|
||
|
"tstl": {
|
||
|
"luaTarget": "5.3",
|
||
|
"luaBundle": "./mod/main.lua", // Will bundle all output Lua files into a single file
|
||
|
"luaBundleEntry": "./src/bundleEntry.ts", // This invokes the "main.ts" file
|
||
|
},
|
||
|
}
|