mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-02 14:27:40 +00:00
* Add vite build - baseline * Fix build output folder structure Matches pre-vite output * Fix litegraph errors introduced by vite process - Remove pre-written encapsulating iife (one is injected by vite) - Replace all references to the global "this" with globalThis
34 lines
853 B
JSON
34 lines
853 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2022",
|
|
"useDefineForClassFields": true,
|
|
"module": "ESNext",
|
|
"lib": ["ES2022", "DOM", "DOM.Iterable"],
|
|
"skipLibCheck": true,
|
|
"sourceMap": true,
|
|
"esModuleInterop": true,
|
|
"moduleResolution": "Node",
|
|
"experimentalDecorators": true,
|
|
"emitDecoratorMetadata": true,
|
|
|
|
/* Linting */
|
|
"strict": false,
|
|
"noUnusedLocals": false,
|
|
"noUnusedParameters": false,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"downlevelIteration": true,
|
|
|
|
/* AllowJs during migration phase */
|
|
"allowJs": true,
|
|
"baseUrl": ".",
|
|
"paths": {
|
|
"@/*": ["src/*"],
|
|
},
|
|
// TODO: Remove workaround from initial vite impl: public/src
|
|
"typeRoots": ["src/types", "node_modules/@types", "public/src"],
|
|
"outDir": "./dist",
|
|
"rootDir": "./",
|
|
},
|
|
"include": ["src/**/*"]
|
|
}
|