Files
polaris-react/tsconfig.json
Ben Scott 38d52c122a Bump babel compile target to es2017
This doesn't change the build output now.

Prior to this change TS would always output polyfills for es2017 features.
By targeting es2017 TS will leave es2017 features untouched and then
babel shall use babel-preset-env to polyfill them based upon our browser
support (as defined in browserslist in package.json)
2019-01-10 12:09:13 -08:00

30 lines
713 B
JSON

{
"compilerOptions": {
"baseUrl": "./src",
"rootDir": "./",
"target": "es2017",
"module": "es2015",
"moduleResolution": "node",
"resolveJsonModule": true,
"declaration": true,
"declarationDir": "types",
"jsx": "react-native",
"strictNullChecks": true,
"noImplicitAny": true,
"experimentalDecorators": true,
"allowSyntheticDefaultImports": true,
"noUnusedParameters": true,
"noUnusedLocals": true,
"noEmitHelpers": true,
"importHelpers": true,
"lib": [
"dom",
"dom.iterable",
"es2017",
"esnext.asynciterable",
"scripthost"
]
},
"include": ["./config/typescript/**/*", "./src/**/*", "./package.json"]
}