mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
fix path to anki lib in ts/ when editing
This commit is contained in:
parent
24e69e3803
commit
4c06d89644
1 changed files with 1 additions and 18 deletions
|
@ -1,29 +1,14 @@
|
||||||
{
|
{
|
||||||
"exclude": ["node_modules", "dist"],
|
"exclude": ["node_modules", "dist"],
|
||||||
// "include": ["pages/congrats/*.d.ts"],
|
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"target": "es6",
|
"target": "es6",
|
||||||
"module": "es6",
|
"module": "es6",
|
||||||
"lib": ["es2016", "dom"],
|
"lib": ["es2016", "dom"],
|
||||||
"baseUrl": ".",
|
"baseUrl": ".",
|
||||||
"paths": {
|
"paths": {
|
||||||
"anki/*": ["../bazel-bin/*"]
|
"anki/*": ["../bazel-bin/ts/lib/*"]
|
||||||
},
|
},
|
||||||
// "*": [
|
|
||||||
// // generated anki lib
|
|
||||||
// "node_modules/*"
|
|
||||||
// ]
|
|
||||||
// },
|
|
||||||
|
|
||||||
"importsNotUsedAsValues": "error",
|
"importsNotUsedAsValues": "error",
|
||||||
// "isolatedModules": true,
|
|
||||||
// "skipLibCheck": true,
|
|
||||||
// "forceConsistentCasingInFileNames": true,
|
|
||||||
// "noResolve": true,
|
|
||||||
|
|
||||||
// "rootDir": ".",
|
|
||||||
// "declaration": false /* Generates corresponding '.d.ts' file. */,
|
|
||||||
// "rootDir": "src",
|
|
||||||
"outDir": "dist",
|
"outDir": "dist",
|
||||||
/* Strict Type-Checking Options */
|
/* Strict Type-Checking Options */
|
||||||
"strict": true /* Enable all strict type-checking options. */,
|
"strict": true /* Enable all strict type-checking options. */,
|
||||||
|
@ -40,9 +25,7 @@
|
||||||
"esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */,
|
"esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */,
|
||||||
"jsx": "react",
|
"jsx": "react",
|
||||||
"types": ["svelte", "long"],
|
"types": ["svelte", "long"],
|
||||||
|
|
||||||
"noEmitHelpers": true,
|
"noEmitHelpers": true,
|
||||||
"importHelpers": true
|
"importHelpers": true
|
||||||
// "jsxFactory": "svelte.JSX.createElement",
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue