Browse Source

Update tsconfig.json

customisations
alemart 7 months ago
parent
commit
0a80468097
1 changed files with 4 additions and 2 deletions
  1. 4
    2
      tsconfig.json

+ 4
- 2
tsconfig.json View File

1
 {
1
 {
2
     "compilerOptions": {
2
     "compilerOptions": {
3
-        "target": "ES6",
4
-        "module": "ES6",
3
+        "target": "es2020",
4
+        "module": "es6",
5
+        "lib": ["dom", "es2020"],
5
         "outDir": "./dist/",
6
         "outDir": "./dist/",
6
         "sourceMap": true,
7
         "sourceMap": true,
7
         "allowJs": true,
8
         "allowJs": true,
11
         "skipLibCheck": true,
12
         "skipLibCheck": true,
12
         "moduleResolution": "node",
13
         "moduleResolution": "node",
13
         "esModuleInterop": true,
14
         "esModuleInterop": true,
15
+        "isolatedModules": true,
14
         "allowSyntheticDefaultImports": true,
16
         "allowSyntheticDefaultImports": true,
15
         "forceConsistentCasingInFileNames": true,
17
         "forceConsistentCasingInFileNames": true,
16
         "preserveSymlinks": true
18
         "preserveSymlinks": true

Loading…
Cancel
Save