diff --git a/.vscode/settings.json b/.vscode/settings.json index 96d0fea2..e61ec667 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -2,11 +2,20 @@ "editor.insertSpaces": true, "editor.tabSize": 2, "editor.detectIndentation": false, - "editor.defaultFormatter": "esbenp.prettier-vscode", + "editor.defaultFormatter": "denoland.vscode-deno", "editor.formatOnSave": true, "editor.codeActionsOnSave": { - "source.fixAll": true + "source.fixAll": "explicit" }, "files.eol": "\n", - "files.insertFinalNewline": true + "files.insertFinalNewline": true, + "deno.enable": false, + "deno.lint": true, + "deno.unstable": false, // Set to true if you want to enable unstable Deno features + "[typescript]": { + "editor.defaultFormatter": "denoland.vscode-deno" + }, + "[typescriptreact]": { + "editor.defaultFormatter": "denoland.vscode-deno" + } } diff --git a/vite.config.ts b/vite.config.ts index c5b21bdd..5c3c8593 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -50,7 +50,11 @@ export default defineConfig({ name: "ChatCraft.org", short_name: "ChatCraft", icons: [ - { src: "/android-chrome-192x192.png", sizes: "192x192", type: "image/png" }, + { + src: "/android-chrome-192x192.png", + sizes: "192x192", + type: "image/png", + }, { src: "/android-chrome-512x512.png", sizes: "512x512", @@ -85,5 +89,7 @@ export default defineConfig({ chunkSizeWarningLimit: 2200, outDir: "build", target: "esnext", + minify: false, // Disable minification for better stack traces + sourcemap: "hidden", // ✘ [ERROR] Error: Pages only supports files up to 25 MiB in size }, });