-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
23 lines (19 loc) · 920 Bytes
/
tsconfig.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// The base TSC (TypeScript Compiler) configuration to use in both `development` and `production`
// STAGEs. To target just the `development` STAGE see `tsconfig.development.json` instead.
{
"compilerOptions": {
// We'll use Babel's @babel/plugin-transform-react-jsx to expand JSX expressions into
// plain Javascript. Babel seems to be the build tool preferred by the React core team.
"jsx": "preserve",
// Our React project will live in the `./src` directory.
"rootDir": "./src",
// Webpack will bundle the JSX emitted by TSC from here.
"outDir": "./target/tsc",
// The latest versions of all the popular browsers support ES6. See https://caniuse.com/es6
"target": "es6",
// We use Node/NPM to handle our dependencies, so tell TypeScript to resolve dependencies
// using the same strategy as Node/NPM.
"moduleResolution": "node"
},
"include": ["./src/**/*"]
}