aboutsummaryrefslogtreecommitdiff
path: root/src/runtime.zig
blob: e6fd44d2f40c084fa59da6cfe270c541768652d3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
pub const Runtime = struct {
    pub const Features = packed struct {
        react_fast_refresh: bool = false,
        hot_module_reloading: bool = false,
        keep_names_for_arrow_functions: bool = true,
    };

    pub const Functions = enum {
        KeepNames,
        CommonJSToESModule,
        TypeScriptDecorateClass,
        TypeScriptDecorateParam,
    };
};