summaryrefslogtreecommitdiffstats
path: root/tsconfig.json
diff options
context:
space:
mode:
authorMaksim Sukharev <antreesy.web@gmail.com>2024-02-25 15:35:59 +0100
committerMaksim Sukharev <antreesy.web@gmail.com>2024-02-26 10:29:22 +0100
commitec9e5d9ec560dd72a29bb23a6c9dfd1c198d617c (patch)
tree58351363e086f181a8c46683e362eec462525460 /tsconfig.json
parent89e20d99c8cc433807e2f106dfb370ced3ccf000 (diff)
build: provide Typescript support in Vue SFC files
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
Diffstat (limited to 'tsconfig.json')
-rw-r--r--tsconfig.json10
1 files changed, 8 insertions, 2 deletions
diff --git a/tsconfig.json b/tsconfig.json
index 93aa67877..fd3c5de2c 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -1,14 +1,20 @@
{
- "include": ["./src/**/*.ts"],
+ "include": ["./src/**/*.ts", "./src/**/*.vue"],
"exclude": ["node_modules", "vendor"],
"compilerOptions": {
"outDir": "./js",
"allowJs": true,
- "module": "CommonJS",
+ "checkJs": true,
+ "allowImportingTsExtensions": true,
+ "lib": ["ESNext"],
+ "module": "ESNext",
"moduleResolution": "bundler",
"verbatimModuleSyntax": true,
"target": "ES2020",
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
+ },
+ "vueCompilerOptions": {
+ "target": 2.7,
}
}