From 9f17c1adba096d8a2f5c76521a1440411c21e353 Mon Sep 17 00:00:00 2001 From: Luiz Silva Date: Fri, 24 Oct 2025 08:29:56 -0300 Subject: [PATCH] . --- package.json | 6 +----- tsup/tsup.config.back.ts | 1 - tsup/tsup.config.front.ts | 1 - 3 files changed, 1 insertion(+), 7 deletions(-) diff --git a/package.json b/package.json index cae5f49..acb5c50 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "p-comuns", - "version": "0.251.0", + "version": "0.247.0", "description": "", "main": "./dist-back/index.js", "module": "./dist-front/index.mjs", @@ -12,10 +12,6 @@ "require": "./dist-back/index.js" } }, - "sideEffects": false, - "peerDependencies": { - "dayjs": "^1.11.0" - }, "scripts": { "biome": "pnpm exec biome check --write", "check": "pnpm run biome && npx tsc --noEmit", diff --git a/tsup/tsup.config.back.ts b/tsup/tsup.config.back.ts index 2038be0..cffbdf4 100644 --- a/tsup/tsup.config.back.ts +++ b/tsup/tsup.config.back.ts @@ -17,7 +17,6 @@ export const tsup_config_back: Options = { sourcemap: false, minify: false, // Geralmente não minificamos o código do backend em produção, mas você pode mudar platform: "node", - external: ["dayjs"], outExtension: () => ({ js: ".js" }), } diff --git a/tsup/tsup.config.front.ts b/tsup/tsup.config.front.ts index ed1a7be..a960893 100644 --- a/tsup/tsup.config.front.ts +++ b/tsup/tsup.config.front.ts @@ -16,7 +16,6 @@ export const tsup_config_front: Options = { sourcemap: false, minify: true, // Recomendado para builds de produção platform: "browser", - external: ["dayjs"], outExtension: () => ({ js: ".mjs" }), }