Merge pull request #231 from JsSucks/editor-patch

fix module resolving for vscode
This commit is contained in:
Alexei Stukov 2018-08-20 06:42:11 +03:00 committed by GitHub
commit 9306018111
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 16 additions and 0 deletions

16
client/jsconfig.json Normal file
View File

@ -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"]
}