feat(config): Allow config to be edited without rebuild

This commit is contained in:
Taso committed 2021-04-11 09:38:20 -04:00
1 parent 1a3d02f1e3
commit a880ae66ea
9 files changed
+19 -11

No files matched your search

+1 -1
View File
@@ -1,4 +1,3 @@
import config from '../utils/config';
import { sendMessage } from '../utils/messages';
import { PhoneEvents } from '../../typings/phone';
import { TwitterEvents } from '../../typings/twitter';
@@ -11,6 +10,7 @@ import { BankEvents } from '../../typings/bank';
import { PhotoEvents } from '../../typings/photo';
import { CallEvents } from '../../typings/call';
import { MatchEvents } from '../../typings/match';
import { config } from './client';
let isPhoneOpen = false;
let isPlayerReady = false;
+6
View File
@@ -1,4 +1,10 @@
import ClientUtils from './cl_utils';
import { IServerConfig } from '../../typings/config';
// Setup and export the config for the resource
export const config: IServerConfig = JSON.parse(
LoadResourceFile(GetCurrentResourceName(), 'config.json'),
);
import './cl_main';
import './cl_twitter';