9a67087766
Renderer will be only react/redux code. Common code can be used in both main and renderer.
32 lines
1.7 KiB
JSON
32 lines
1.7 KiB
JSON
{
|
|
"compilerOptions": {
|
|
/* Basic Options */
|
|
// *"target": "ES2019", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */
|
|
// *"module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */
|
|
// *"lib": [ /* Specify library files to be included in the compilation. */
|
|
// * "DOM",
|
|
// * "ES2019"
|
|
// *],
|
|
// *"allowJs": true, /* Allow javascript files to be compiled. */
|
|
"jsx": "react",
|
|
"noUnusedLocals": false,
|
|
// "checkJs": true, /* Report errors in .js files. */
|
|
// "declaration": true, /* Generates corresponding '.d.ts' file. */
|
|
// "declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */
|
|
// *"sourceMap": true, /* Generates corresponding '.map' file. */
|
|
// *"outDir": "dist", /* Redirect output structure to the directory. */
|
|
// *"strict": true,
|
|
"baseUrl": ".", /* Base directory to resolve non-absolute module names. */
|
|
"paths": {
|
|
"@/*": ["src/main/*"],
|
|
"common/*": ["src/common/*"]
|
|
},
|
|
// *"esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
|
|
},
|
|
// *"include": [
|
|
// * "./src"
|
|
// *],
|
|
// *"exclude": [ "node_modules" ],
|
|
"extends": "./node_modules/electron-webpack/tsconfig-base.json"
|
|
}
|