-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.darklua.json
61 lines (58 loc) · 1.34 KB
/
.darklua.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
{
"generator": "readable",
"bundle": {
"modules_identifier": "__DARKLUA_BUNDLE_MODULES",
"require_mode": {
"name": "path",
"sources": {
"client": "./modules/client",
"server": "./modules/server",
"shared": "./modules/shared"
}
}
},
"rules": [
{
"rule": "inject_global_value",
"identifier": "DEV",
"value": false
},
{
"rule": "inject_global_value",
"identifier": "workerThreads",
"value": 8
},
{
"rule": "inject_global_value",
"identifier": "scriptHostKey",
"value": "CHANGE_THIS_KEY"
},
{
"rule": "inject_global_value",
"identifier": "localScriptHostKey",
"value": "CHANGE_THIS_KEY"
},
{
"rule": "inject_global_value",
"identifier": "moduleScriptHostKey",
"value": "CHANGE_THIS_KEY"
},
"compute_expression",
"convert_index_to_field",
"convert_local_function_to_assign",
"remove_unused_variable",
"remove_nil_declaration",
"remove_unused_while",
"remove_unused_if_branch",
"filter_after_early_return",
"remove_empty_do",
"remove_unused_variable",
"remove_function_call_parens",
"group_local_assignment",
"remove_assertions",
"remove_debug_profiling",
"remove_types",
"remove_comments",
"remove_spaces"
]
}