From 0d9e520df1bf0e28cb835fd4794eab517a958a7f Mon Sep 17 00:00:00 2001 From: Tai Sakuma Date: Wed, 20 Apr 2022 08:41:05 -0400 Subject: [PATCH] update tsconfig.json --- tsconfig.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tsconfig.json b/tsconfig.json index e309698..73dab11 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,6 +1,10 @@ -// VSCode: https://code.visualstudio.com/docs/languages/jsconfig +// VSCode: https://code.visualstudio.com/docs/languages/jsconfig // tsconfig.json: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html // Vetur: https://vuejs.github.io/vetur/guide/setup.html + +// Note: Go to definition works from .vue file but not from .js file +// https://stackoverflow.com/questions/64855167/vscodevetur-go-to-definition-from-js-files-doesnt-work + { "include": ["src/**/*"], "compilerOptions": { @@ -9,6 +13,7 @@ "sourceMap": true, "allowJs": true, "baseUrl": ".", + "outDir": ".out", // https://github.com/microsoft/TypeScript/issues/14538 "paths": { "@/*": ["src/*"] }