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