From e1b5f3256350df1e290cab6197e8b92a8cca95ea Mon Sep 17 00:00:00 2001 From: Vortrex <3858226+VortrexFTW@users.noreply.github.com> Date: Sat, 8 May 2021 08:36:18 -0500 Subject: [PATCH] Fix JS configs for VSCode --- scripts/{ => client}/jsconfig.json | 7 +++---- scripts/empty | 1 - scripts/server/jsconfig.json | 15 +++++++++++++++ 3 files changed, 18 insertions(+), 5 deletions(-) rename scripts/{ => client}/jsconfig.json (57%) delete mode 100644 scripts/empty create mode 100644 scripts/server/jsconfig.json diff --git a/scripts/jsconfig.json b/scripts/client/jsconfig.json similarity index 57% rename from scripts/jsconfig.json rename to scripts/client/jsconfig.json index 51bb73e6..9c32b246 100644 --- a/scripts/jsconfig.json +++ b/scripts/client/jsconfig.json @@ -1,12 +1,11 @@ { "compilerOptions": { "module": "commonjs", - "target": "es2020", + "target": "ES6", "moduleResolution": "classic" }, "include": [ - "server/*", - "client/*", - "third-party/*" + "./*.js", + "../shared/*.js" ] } \ No newline at end of file diff --git a/scripts/empty b/scripts/empty deleted file mode 100644 index 7b4d68d7..00000000 --- a/scripts/empty +++ /dev/null @@ -1 +0,0 @@ -empty \ No newline at end of file diff --git a/scripts/server/jsconfig.json b/scripts/server/jsconfig.json new file mode 100644 index 00000000..447ac942 --- /dev/null +++ b/scripts/server/jsconfig.json @@ -0,0 +1,15 @@ +{ + "compilerOptions": { + "module": "commonjs", + "target": "ES6", + "moduleResolution": "classic" + }, + "include": [ + "./*.js", + "job/*.js", + "business/*.js", + "item/*.js", + "npc/*.js", + "../shared/*.js" + ] +} \ No newline at end of file