fix(build): align TypeScript and test imports with NodeNext builds and safely copy Uint8Array inputs in browser processing

This commit is contained in:
2026-05-01 16:10:01 +00:00
parent aa976061b1
commit c4dc34cd1a
14 changed files with 2811 additions and 4447 deletions
+7 -21
View File
@@ -1,29 +1,15 @@
{
"compilerOptions": {
"target": "ES2022",
"lib": ["ES2022", "DOM"],
"module": "ESNext",
"moduleResolution": "node",
"declaration": true,
"outDir": "./dist_ts/",
"rootDir": "./ts/",
"module": "NodeNext",
"moduleResolution": "NodeNext",
"noImplicitAny": true,
"strict": true,
"esModuleInterop": true,
"skipLibCheck": false,
"forceConsistentCasingInFileNames": true,
"allowSyntheticDefaultImports": true,
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"resolveJsonModule": true,
"allowJs": false
"verbatimModuleSyntax": true,
"types": ["node"]
},
"include": [
"ts/**/*"
],
"exclude": [
"node_modules",
"dist_ts",
"dist_ts_web",
"test"
"dist_*/**/*.d.ts"
]
}
}