incorporação svg
This commit is contained in:
parent
4ed3d82bb2
commit
0a6ce2e323
2 changed files with 8 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue