-
Notifications
You must be signed in to change notification settings - Fork 19
/
tsconfig.json
53 lines (53 loc) · 1.13 KB
/
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
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
{
"compilerOptions": {
"jsx": "react",
"target": "ES6",
"allowSyntheticDefaultImports": true,
"module": "commonjs",
//"noEmitOnError": true,
"strict": true,
"allowJs": true,
"pretty": true,
"sourceMap": false,
"noImplicitAny": true,
"moduleResolution": "node",
"typeRoots": [
"node_modules/@types"
],
"rootDir": "app",
"outDir": "tmp"
},
"exclude": [
"node_modules",
"app/node_modules"
],
"externalTranspiler": {
"name": "babel",
"options": {
"presets": [
["env", {
"targets": { "node": 6 },
"useBuiltIns": true
}],
"es2015",
"stage-0",
"react",
"react-hmre"
],
"plugins": ["add-module-exports", "dynamic-import-webpack"],
"env": {
"production": {
"presets": ["react-optimize"],
"plugins": ["babel-plugin-dev-expression"]
},
"development": {
"plugins": [
"transform-class-properties",
"transform-es2015-classes",
"react-hot-loader/babel"
]
}
}
}
}
}