more webgpu scaffolding

This commit is contained in:
41666 2023-10-06 22:37:05 -04:00
parent c245a4700a
commit 441ab63660
21 changed files with 253 additions and 74 deletions

View file

@ -1,22 +1,28 @@
{
"compilerOptions": {
"lib": ["ESNext"],
// add Bun type definitions
"types": ["bun-types", "@webgpu/types"],
// enable latest features
"lib": ["esnext"],
"module": "esnext",
"target": "esnext",
// if TS 5.x+
"moduleResolution": "bundler",
"moduleDetection": "force",
"allowImportingTsExtensions": true,
"noEmit": true,
"composite": true,
"allowImportingTsExtensions": true,
"moduleDetection": "force",
// if TS 4.x or earlier
// "moduleResolution": "nodenext",
"jsx": "react-jsx", // support JSX
"allowJs": true, // allow importing `.js` from `.ts`
"esModuleInterop": true, // allow default imports for CommonJS modules
// best practices
"strict": true,
"downlevelIteration": true,
"skipLibCheck": true,
"jsx": "react-jsx",
"allowSyntheticDefaultImports": true,
"forceConsistentCasingInFileNames": true,
"allowJs": true,
"types": [
"bun-types" // add Bun global
]
"skipLibCheck": true
}
}