|
4 | 4 | "$schema": "https://raw.githubusercontent.com/IsaacScript/isaacscript/main/packages/isaacscript-cli/schemas/tsconfig-isaacscript-schema.json", |
5 | 5 |
|
6 | 6 | // We extend the standard IsaacScript config: |
7 | | - // https://github.com/IsaacScript/isaacscript/blob/main/packages/isaacscript-tsconfig/configs/tsconfig.mod.json |
8 | | - "extends": "isaacscript-tsconfig/tsconfig.mod.json", |
| 7 | + // We extend the standard IsaacScript configs. |
| 8 | + "extends": [ |
| 9 | + // https://github.com/complete-ts/complete/blob/main/packages/complete-tsconfig/tsconfig.base.json |
| 10 | + "complete-tsconfig/tsconfig.base.json", |
| 11 | + // https://github.com/IsaacScript/isaacscript/blob/main/packages/isaacscript-tsconfig/tsconfig.mod.json |
| 12 | + "isaacscript-tsconfig/tsconfig.mod.json", |
| 13 | + ], |
9 | 14 |
|
10 | 15 | // A list of the TypeScript files to compile. |
11 | 16 | "include": ["./src/**/*.ts"], |
12 | 17 |
|
13 | 18 | // TypeScriptToLua settings |
14 | 19 | "tstl": { |
15 | 20 | "luaTarget": "5.3", |
16 | | - "luaBundle": "./mod/main.lua", // Will bundle all output Lua files into a single file. |
17 | | - "luaBundleEntry": "./src/main.ts", |
| 21 | + "luaBundle": "main.lua", // Will bundle all output Lua files into a single file. |
| 22 | + "luaBundleEntry": "./src/bundleEntry.ts", |
18 | 23 | "luaPlugins": [ |
19 | 24 | // A plugin to add an explanatory comment at the top of the compiled "main.lua" file. |
20 | | - { "name": "isaacscript/src/plugins/addIsaacScriptCommentHeader.js" }, |
| 25 | + { "name": "isaacscript/plugins/addIsaacScriptCommentHeader.cjs" }, |
21 | 26 |
|
22 | 27 | // A plugin to make enums safe from global variables. |
23 | | - { "name": "isaacscript/src/plugins/noExtendedEnums.js" }, |
| 28 | + { "name": "isaacscript/plugins/noExtendedEnums.cjs" }, |
24 | 29 |
|
25 | 30 | // Uncomment this and recompile the mod to enable crash debugging, which will tell you the |
26 | 31 | // exact line of the mod that is causing the crash. For more information, read the comment at |
27 | 32 | // the top of the file: |
28 | 33 | // https://github.com/IsaacScript/isaacscript/blob/main/packages/isaacscript-cli/src/plugins/addCrashDebugStatements.ts |
29 | | - // { "name": "isaacscript/src/plugins/addCrashDebugStatements.js" }, |
| 34 | + // { "name": "isaacscript/plugins/addCrashDebugStatements.cjs" }, |
30 | 35 | ], |
31 | 36 | "noHeader": true, |
32 | 37 | "noImplicitGlobalVariables": true, |
|
0 commit comments