From 0a6ce2e323918c3bc855cdba154ed90f576092b2 Mon Sep 17 00:00:00 2001 From: Luiz Silva Date: Sat, 21 Feb 2026 10:59:52 -0300 Subject: [PATCH] =?UTF-8?q?incorpora=C3=A7=C3=A3o=20svg?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tsup/tsup.config.back.ts | 4 ++++ tsup/tsup.config.front.ts | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/tsup/tsup.config.back.ts b/tsup/tsup.config.back.ts index cffbdf4..912c657 100755 --- a/tsup/tsup.config.back.ts +++ b/tsup/tsup.config.back.ts @@ -18,6 +18,10 @@ export const tsup_config_back: Options = { minify: false, // Geralmente não minificamos o código do backend em produção, mas você pode mudar platform: "node", outExtension: () => ({ js: ".js" }), + loader: { + ".svg": "text", + ".md": "text", + }, } // Exporta a configuração padrão usando defineConfig diff --git a/tsup/tsup.config.front.ts b/tsup/tsup.config.front.ts index 4f0fd7b..38d1a87 100755 --- a/tsup/tsup.config.front.ts +++ b/tsup/tsup.config.front.ts @@ -19,6 +19,10 @@ export const tsup_config_front: Options = { external: ['dayjs', 'cross-fetch', 'uuid', 'zod'], outExtension: () => ({ js: ".mjs" }), shims: false, + loader: { + ".svg": "text", + ".md": "text", + }, } // Exporta a configuração padrão usando defineConfig