Created
September 10, 2019 06:05
-
-
Save rpf5573/c700fe277084dc7cb01ae617c5d0d852 to your computer and use it in GitHub Desktop.
tsconfig.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"compilerOptions": { | |
"target": "es2015", | |
"module": "commonjs", // commonjs방식으로 module을 import한다 | |
"moduleResolution": "node", // nodejs에서 사용하는 방식으로 module을 찾아서 import한다 | |
"strict": true, | |
"noResolve": false, // Do not add triple-slash references or module import targets to the list of compiled files. | |
"jsx": "react", | |
"allowSyntheticDefaultImports": true, // Allow default imports from modules with no default export. This does not affect code emit, just typechecking. | |
"resolveJsonModule":true, // import {name as appName} from '../app.json'; 이걸 가능하게 해준다. 즉 json파일을 import할 수 있도록 만들어준다 | |
"typeRoots": ["./node_modules/@types", "./src/@types"] | |
}, | |
"exclude": [ | |
"node_modules", | |
"dest", | |
"android", | |
"ios" | |
], | |
"include": ["./src/**/*", "index.tsx"] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment