mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-03-02 11:40:00 +00:00
Target ES2022 in vite config to align with tsconfig target (#610)
This commit is contained in:
@@ -114,7 +114,7 @@ export default defineConfig({
|
||||
],
|
||||
build: {
|
||||
minify: SHOULD_MINIFY ? 'esbuild' : false,
|
||||
target: 'es2015',
|
||||
target: 'es2022',
|
||||
sourcemap: true,
|
||||
rollupOptions: {
|
||||
// Disabling tree-shaking
|
||||
|
||||
Reference in New Issue
Block a user