From 19d33a44ead2bc5f5a5e0b75e55e252344c87f47 Mon Sep 17 00:00:00 2001 From: Zack Rauen Date: Sun, 19 Aug 2018 22:43:40 -0400 Subject: [PATCH] fix module resolving for vscode --- client/jsconfig.json | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 client/jsconfig.json diff --git a/client/jsconfig.json b/client/jsconfig.json new file mode 100644 index 00000000..ae5af622 --- /dev/null +++ b/client/jsconfig.json @@ -0,0 +1,16 @@ +{ + "compilerOptions": { + "target": "es2017", + "allowSyntheticDefaultImports": false, + "baseUrl": "./", + "paths": { + "modules": ["./src/modules/modules.js"], + "structs": ["./src/structs/structs.js"], + "common": ["../common/modules/common.js"], + "ui": ["./src/ui/ui.js"], + "builtin": ["./src/builtin/builtin.js"], + "vue$": ["../node_modules/vue/dist/vue.esm.js"] + } + }, + "exclude": ["node_modules", "dist"] +} \ No newline at end of file