|
3 | 3 | /* Visit https://aka.ms/tsconfig.json to read more about this file */ |
4 | 4 |
|
5 | 5 | /* Basic Options */ |
6 | | - // "incremental": true, /* Enable incremental compilation */ |
| 6 | + "incremental": true /* Enable incremental compilation */, |
7 | 7 | "target": "ESNext" /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', or 'ESNEXT'. */, |
8 | 8 | "module": "ESNext" /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', 'es2020', or 'ESNext'. */, |
9 | 9 | "lib": [ |
10 | 10 | "dom", |
11 | 11 | "es2017", |
12 | 12 | "esnext" |
13 | 13 | ] /* Specify library files to be included in the compilation. */, |
14 | | - // "allowJs": true, /* Allow javascript files to be compiled. */ |
| 14 | + "allowJs": true /* Allow javascript files to be compiled. */, |
15 | 15 | // "checkJs": true, /* Report errors in .js files. */ |
16 | 16 | "jsx": "preserve" /* Specify JSX code generation: 'preserve', 'react-native', 'react', 'react-jsx' or 'react-jsxdev'. */, |
17 | 17 | // "declaration": true, /* Generates corresponding '.d.ts' file. */ |
|
26 | 26 | "noEmit": true /* Do not emit outputs. */, |
27 | 27 | // "importHelpers": true, /* Import emit helpers from 'tslib'. */ |
28 | 28 | // "downlevelIteration": true, /* Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'. */ |
29 | | - // "isolatedModules": true, /* Transpile each file as a separate module (similar to 'ts.transpileModule'). */ |
| 29 | + "isolatedModules": true /* Transpile each file as a separate module (similar to 'ts.transpileModule'). */, |
30 | 30 |
|
31 | 31 | /* Strict Type-Checking Options */ |
32 | 32 | "strict": true /* Enable all strict type-checking options. */, |
|
64 | 64 | // "mapRoot": "", /* Specify the location where debugger should locate map files instead of generated locations. */ |
65 | 65 | // "inlineSourceMap": true, /* Emit a single file with source maps instead of having a separate file. */ |
66 | 66 | // "inlineSources": true, /* Emit the source alongside the sourcemaps within a single file; requires '--inlineSourceMap' or '--sourceMap' to be set. */ |
| 67 | + "resolveJsonModule": true, |
| 68 | + |
67 | 69 | /* Experimental Options */ |
68 | 70 | "experimentalDecorators": true /* Enables experimental support for ES7 decorators. */, |
69 | 71 | "emitDecoratorMetadata": true /* Enables experimental support for emitting type metadata for decorators. */, |
70 | 72 |
|
71 | 73 | /* Advanced Options */ |
72 | 74 | "skipLibCheck": true /* Skip type checking of declaration files. */, |
73 | 75 | "forceConsistentCasingInFileNames": true /* Disallow inconsistently-cased references to the same file. */, |
74 | | - "plugins": [ |
75 | | - { |
76 | | - "name": "next" |
77 | | - } |
78 | | - ], |
79 | | - "allowJs": true, |
80 | | - "incremental": true, |
81 | | - "resolveJsonModule": true, |
82 | | - "isolatedModules": true |
| 76 | + |
| 77 | + /** Editor Support */ |
| 78 | + "plugins": [{ "name": "next" }] |
83 | 79 | }, |
84 | 80 | "include": [ |
85 | 81 | "next-env.d.ts", |
|
0 commit comments