AvaloniaStack/Avalonia-Web/tsconfig.node.json
luoqiang 6f279fcae0 新增avalonia-web前端子项目及WebView桥接支持
新增基于Vite+Vue3的avalonia-web前端子项目,包含完整工程结构、配置文件、静态资源和组件。完善.gitignore等忽略规则,并将前端项目集成进解决方案。增强MainWindow.axaml.cs中WebView脚本,支持自定义协议的XMLHttpRequest桥接,提升JS与C#通信能力。补充CHANGELOG及环境检测提示。
2026-04-23 17:49:55 +08:00

28 lines
964 B
JSON

// TSConfig for modules that run in Node.js environment via either transpilation or type-stripping.
{
"extends": "@tsconfig/node24/tsconfig.json",
"include": [
"vite.config.*",
"vitest.config.*",
"cypress.config.*",
"playwright.config.*",
"eslint.config.*"
],
"compilerOptions": {
// Most tools use transpilation instead of Node.js's native type-stripping.
// Bundler mode provides a smoother developer experience.
"module": "preserve",
"moduleResolution": "bundler",
// Include Node.js types and avoid accidentally including other `@types/*` packages.
"types": ["node"],
// Disable emitting output during `vue-tsc --build`, which is used for type-checking only.
"noEmit": true,
// `vue-tsc --build` produces a .tsbuildinfo file for incremental type-checking.
// Specified here to keep it out of the root directory.
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo"
}
}