mirror of
https://github.com/abhijithvijayan/web-extension-starter.git
synced 2026-01-30 09:48:12 +01:00
chore: minor tweaks to tsconfig.json
This commit is contained in:
parent
d8f4e79e20
commit
892797233b
@ -4,14 +4,21 @@
|
|||||||
"outDir": "dist",
|
"outDir": "dist",
|
||||||
/* for manifest/index.js */
|
/* for manifest/index.js */
|
||||||
"allowJs": true,
|
"allowJs": true,
|
||||||
"target": "ES2015", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017','ES2018' or 'ESNEXT'. */
|
"target": "es5", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017','ES2018' or 'ESNEXT'. */
|
||||||
"module": "es6", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */
|
"module": "esnext", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */
|
||||||
"jsx": "react",
|
"jsx": "react",
|
||||||
"lib": ["dom", "es6"], /* Specify library files to be included in the compilation. */
|
"lib": [
|
||||||
|
"dom",
|
||||||
|
"dom.iterable",
|
||||||
|
"esnext"
|
||||||
|
],
|
||||||
"removeComments": true, /* Do not emit comments to output. */
|
"removeComments": true, /* Do not emit comments to output. */
|
||||||
"noEmit": true, /* Do not emit outputs. */
|
"noEmit": true, /* Do not emit outputs. */
|
||||||
"noEmitOnError": true,
|
"noEmitOnError": true,
|
||||||
|
|
||||||
|
"esModuleInterop": true,
|
||||||
|
"isolatedModules": true,
|
||||||
|
|
||||||
/* Strict Type-Checking Options */
|
/* Strict Type-Checking Options */
|
||||||
"strict": true,
|
"strict": true,
|
||||||
"noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */
|
"noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */
|
||||||
@ -38,8 +45,8 @@
|
|||||||
],
|
],
|
||||||
"exclude": [
|
"exclude": [
|
||||||
"node_modules"
|
"node_modules"
|
||||||
],
|
],
|
||||||
"awesomeTypescriptLoaderOptions": {
|
"awesomeTypescriptLoaderOptions": {
|
||||||
"useBabel": true,
|
"useBabel": true,
|
||||||
"babelCore": "@babel/core", // needed for Babel v7,
|
"babelCore": "@babel/core", // needed for Babel v7,
|
||||||
"useCache": true, // Use internal file cache to improve warm-up time.
|
"useCache": true, // Use internal file cache to improve warm-up time.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user