From 9dd2c4025b6bcfb8817a33017ffec3d54945a473 Mon Sep 17 00:00:00 2001 From: Luiz Silva Date: Thu, 23 Oct 2025 22:07:00 -0300 Subject: [PATCH] . --- package.json | 3 +-- tsup/tsup.config.ouro.ts | 18 +++++++++++------- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/package.json b/package.json index ccbf573..10f25f9 100644 --- a/package.json +++ b/package.json @@ -1,9 +1,8 @@ { "name": "p-comuns", - "version": "0.254.0", + "version": "0.255.0", "description": "", "main": "dist/index.cjs", - "module": "dist/index.mjs", "types": "dist/index.d.ts", "sideEffects": false, "scripts": { diff --git a/tsup/tsup.config.ouro.ts b/tsup/tsup.config.ouro.ts index c2eebb4..8817657 100644 --- a/tsup/tsup.config.ouro.ts +++ b/tsup/tsup.config.ouro.ts @@ -10,13 +10,17 @@ const pkg = JSON.parse(fs.readFileSync(pkgPath, 'utf8')) // Agora vamos de Day.js “turbinado”: CJS + ESM + IIFE const nextPkg = { ...pkg, - main: 'dist/index.cjs', // Node / SSR (require) - module: 'dist/index.mjs', // Bundlers ESM - types: 'dist/index.d.ts', // Tipos - browser: 'dist/index.global.js', // Browser sem bundler (