-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.darklua.json
42 lines (42 loc) · 886 Bytes
/
.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
{
"rules": [
"remove_comments",
"remove_spaces",
{
"rule": "convert_require",
"current": {
"name": "path",
"sources": {
"@pkg": "node_modules/.luau-aliases"
}
},
"target": {
"name": "roblox",
"rojo_sourcemap": "sourcemap.json",
"indexing_style": "wait_for_child"
}
},
{
"rule": "inject_global_value",
"identifier": "LUA_ENV",
"value": "roblox"
},
{
"rule": "inject_global_value",
"identifier": "DEV",
"value": false
},
{
"rule": "inject_global_value",
"identifier": "__DEV__",
"value": false
},
"compute_expression",
"remove_unused_if_branch",
"filter_after_early_return",
"convert_index_to_field",
"remove_unused_while",
"remove_empty_do",
"remove_method_definition"
]
}