mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-01-26 10:59:53 +00:00
Configure vite to copy from src to dist (#2)
* nit * move * direct copy lib dir * nit * disable treeshake
This commit is contained in:
@@ -5,13 +5,9 @@
|
||||
"module": "ESNext",
|
||||
"lib": ["ES2020", "DOM", "DOM.Iterable"],
|
||||
"skipLibCheck": true,
|
||||
|
||||
/* Bundler mode */
|
||||
"moduleResolution": "bundler",
|
||||
"allowImportingTsExtensions": true,
|
||||
"resolveJsonModule": true,
|
||||
"isolatedModules": true,
|
||||
"noEmit": true,
|
||||
"sourceMap": true,
|
||||
"esModuleInterop": true,
|
||||
"moduleResolution": "Classic",
|
||||
|
||||
/* Linting */
|
||||
"strict": false,
|
||||
@@ -20,7 +16,11 @@
|
||||
"noFallthroughCasesInSwitch": true,
|
||||
|
||||
/* AllowJs during migration phase */
|
||||
"allowJs": true
|
||||
"allowJs": true,
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"*": ["src/*"],
|
||||
}
|
||||
},
|
||||
"include": ["src", "public"]
|
||||
"include": ["src/**/*"]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user