diff options
Diffstat (limited to 'tsconfig.json')
| -rw-r--r-- | tsconfig.json | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/tsconfig.json b/tsconfig.json index 463f276..bba4f49 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -28,9 +28,10 @@ "noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */ "noUncheckedIndexedAccess": true, /* Include 'undefined' in index signature results */ /* Module Resolution Options */ - "moduleResolution": "node", /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */ - "baseUrl": "./", /* Base directory to resolve non-absolute module names. */ - "paths": {}, /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */ + "moduleResolution": "Bundler", /* Recommended module resolution strategy for Vite and modern bundlers. */ + "types": [ + "node" + ], /* Ensure Node.js built-in module types are available (e.g. crypto, buffer). */ "esModuleInterop": true, /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */ "skipLibCheck": true, /* Skip type checking of declaration files. */ "forceConsistentCasingInFileNames": true /* Disallow inconsistently-cased references to the same file. */ @@ -47,4 +48,4 @@ "esm": true, "experimentalSpecifierResolution": "node" } -}
\ No newline at end of file +} |
